Method | Description | |
---|---|---|
Capitalize ( this word ) : String |
Capitalizes a word.
|
|
Humanize ( this propertyName ) : String |
Translate camelCase or PascalCase property name to human readable name (splits it to words and capitilize first word).
|
|
Pluralize ( this word ) : String |
Return the plural of a word.
|
|
Singularize ( this word ) : String |
Return the singular of a word.
|
public static Capitalize ( this word ) : String | ||
word | this | The word to be capitalized. |
return | String |
public static Humanize ( this propertyName ) : String | ||
propertyName | this | Property name in camelCase or PascalCase. |
return | String |
public static Pluralize ( this word ) : String | ||
word | this | The singular form. |
return | String |
public static Singularize ( this word ) : String | ||
word | this | The plural form. |
return | String |