Changeset 3247 for trunk/lib/Doctrine.php
- Timestamp:
- 11/27/07 03:45:30 (14 months ago)
- Files:
-
- 1 modified
-
trunk/lib/Doctrine.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Doctrine.php
r3228 r3247 1070 1070 * @return string 1071 1071 */ 1072 public static function classify($table name)1073 { 1074 return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst( $tablename));1072 public static function classify($tableName) 1073 { 1074 return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst(strtolower($tableName))); 1075 1075 } 1076 1076