class Inflector

Doctrine inflector has static methods for inflecting text

The methods in these classes are from several different sources collected across several different php projects and several different authors. The original author names and emails are not known

@license http://www.opensource.org/licenses/lgpl-license.php LGPL @link www.doctrine-project.org @since 1.0 @version $Revision: 3189 $ @author Konsta Vesterinen <kvesteri@cc.hut.fi> @author Jonathan H. Wage <jonwage@gmail.com>

Hierarchy

Expanded class hierarchy of Inflector

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/Inflector.php, line 38

Namespace

Doctrine\Common\Util
View source

Members

Namesort descending Modifiers Type Description Overrides
Inflector::camelize public static function Camelize a word. This uses the classify() method and turns the first character to lowercase
Inflector::classify public static function Convert a word in to the format for a Doctrine class name. Converts 'table_name' to 'TableName'
Inflector::tableize public static function Convert word in to the format for a Doctrine table name. Converts 'ModelName' to 'model_name'