Class Zend_Db_Inflector

Description

Class for name inflections.

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)
  • 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.

Located in /Zend/Db/Inflector.php (line 36)


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

Convert underscore_words to camelCaps.

  • access: public
void camelize ( $name)
  • $name
plural (line 91)

Pluralize a name.

  • return: Plural form of the original singular name
  • access: public
string plural (string $name)
  • string $name: Singular name
singular (line 67)

Singularize a name.

  • return: Singular form of the original plural name.
  • access: public
string singular (string $name)
  • string $name: Plural name.
underscore (line 56)

Convert camelCaps to underscore_words.

  • access: public
void underscore ( $name)
  • $name

Documentation generated on Sun, 29 Oct 2006 21:27:20 -0600 by phpDocumentor 1.3.0RC6