示例#1
0
文件: Cii.php 项目: fandikurnia/CiiMS
 /**
  * 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));
 }