Class Zend_Db_Inflector

Description

Class for name inflections.

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • deprecated: Since Zend Framework 0.9.0
  • todo: Look up pluralization rules for English. E.g.: 'y' => 'ies', etc. "Porter stemming algorithm". See if Richard Heyes will license his stemmer to us under BSD.
  • license: New BSD License

Located in /Db/Inflector.php (line 37)


	
			
Method Summary
 string camelize (string $name)
 string plural (string $name)
 string singular (string $name)
 string underscore (string $name)
Methods
camelize (line 47)

Convert underscore_words to camelCaps.

  • deprecated: Since Zend Framework 0.9.0
  • access: public
string camelize (string $name)
  • string $name
plural (line 101)

Pluralize a name.

  • return: Plural form of the original singular name
  • deprecated: Since Zend Framework 0.9.0
  • access: public
string plural (string $name)
  • string $name: Singular name
singular (line 77)

Singularize a name.

  • return: Singular form of the original plural name.
  • deprecated: Since Zend Framework 0.9.0
  • access: public
string singular (string $name)
  • string $name: Plural name.
underscore (line 65)

Convert camelCaps to underscore_words.

  • deprecated: Since Zend Framework 0.9.0
  • access: public
string underscore (string $name)
  • string $name

Documentation generated on Sun, 27 May 2007 23:24:57 -0700 by phpDocumentor 1.3.2