1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00
This commit is contained in:
Jonathan.Wage 2007-11-27 03:45:30 +00:00
parent 562a48769c
commit 32392d9ad1

View file

@ -1069,9 +1069,9 @@ final class Doctrine
* @param string $tablename * @param string $tablename
* @return string * @return string
*/ */
public static function classify($tablename) public static function classify($tableName)
{ {
return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst($tablename)); return preg_replace_callback('~(_?)(_)([\w])~', array("Doctrine", "classifyCallback"), ucfirst(strtolower($tableName)));
} }
/** /**