Class Zend_Db_Inflector

Description

Class for name inflections.

  • license: Zend
  • copyright: Copyright (c) 2005-2006 Zend Technologies 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 32)


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

Convert underscore_words to camelCaps.

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

Pluralize a name.

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

Singularize a name.

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

Convert camelCaps to underscore_words.

  • access: public
void underscore (mixed $name)

Documentation generated on Tue, 18 Apr 2006 11:55:12 -0700 by phpDocumentor 1.3.0RC3