Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Project Settings API > Methods

Project Settings API: label()

Scroll Prev Next More

 

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:

getFieldsList()

About Project Settings API

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software