Changeset 146 for trunk/trax/vendor/trax/inflector.php
- Timestamp:
- 02/26/06 02:07:05 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/inflector.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/inflector.php
r138 r146 111 111 112 112 /** 113 * Capitalize a word making it all lower case with first letter uppercase 114 * 115 * @param string $word Word to be capitalized 116 * @return string Capitalized $word 117 */ 118 function capitalize($word) { 119 return ucfirst(strtolower($word)); 120 } 121 122 /** 113 123 * Convert a phrase from the lower case and underscored form 114 124 * to the camel case form … … 179 189 return self::underscore($class_name) . "_id"; 180 190 } 181 191 182 192 } 183 193
