Returns the display label assigned to a field.
Syntax
$settings->label($field);
Arguments
$field
The field name.
Return value
The field label for the current language. Returns the field name if no label is defined.
Example
Display the label assigned to the CustomerID field.
$settings = new ProjectSettings("Orders");
echo $settings->label("CustomerID");
See also: