## Zend_Db_Inflector

Description

Class for name inflections.

- license: New BSD License
- copyright: Copyright (c) 2005-2007 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 35)

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

Convert underscore_words to camelCaps.

- access: public

string camelize (string $name)

- string $name

plural (line 95)

Pluralize a name.

- return: Plural form of the original singular name
- access: public

string plural (string $name)

- string $name: Singular name

singular (line 72)

Singularize a name.

- return: Singular form of the original plural name.
- access: public

string singular (string $name)

- string $name: Plural name.

underscore (line 61)

Convert camelCaps to underscore_words.

- access: public

string underscore (string $name)

- string $name

Documentation generated on Wed, 21 Feb 2007 11:51:47 -0800 by phpDocumentor 1.3.1