interface NameGenerator
The generic interface to a name generation algorithm.
Constants
STD_SEPARATOR_CHAR |
The character used by most implementations as the separator between name elements.
|
CONV_METHOD_UNDERSCORE |
Traditional method for converting schema table and column names to PHP names. The |
CONV_METHOD_CLEAN |
Heavier method for converting schema table and column names to PHP names. Similar to {@link #CONVMETHODUNDERSCORE} but
this one will pass only letters and numbers through and will
use as separator any character that is not a letter or a number
inside the string to be converted. The |
CONV_METHOD_PHPNAME |
Similar to {@link #CONVMETHODUNDERSCORE} except nothing is converted to lowercase.
|
CONV_METHOD_NOCHANGE |
Specifies no modification when converting from a schema column or table name to a PHP name.
|
Methods
string |
generateName(string[] $inputs)
Given a list of |
Details
at line 73
public string
generateName(string[] $inputs)
Given a list of String
objects, implements an algorithm which produces a name.