/** * Converts a table name to its class name according to rails * naming conventions. * * Converts "people" to "Person" * * @access public * @static * @see tableize * @param string $table_name Table name for getting related ClassName. * @return string SingularClassName */ public static function classify($table_name) { return Cii::camelize(Cii::singularize($table_name)); }