generateAttributeLabel() public method
Generates a user friendly attribute label based on the give attribute name.
This is done by replacing underscores, dashes and dots with blanks and changing the first letter of each word to upper case. For example, 'department_name' or 'DepartmentName' will generate 'Department Name'.
public string generateAttributeLabel ( $name ) | ||
---|---|---|
$name | string |
The column name |
return | string |
The attribute label |
Please login to continue.