Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Labels/Titles API > Methods

Labels/Titles API: getFieldLabel

Scroll Prev Next More

 

Gets the field label.

Syntax

Labels::getFieldLabel($table, $field, $language)

Arguments

$table

the table name.

$field

the field name.

$language

the language of the field. If the $language parameter is not specified, the current language is used.

Return value

Returns the field label. Labels can be set in the Label Editor.

Example

Gets the "carscars" table "descr" field label for the current language.

 

Labels::getFieldLabel("carscars", "descr");

See also:

Labels/Titles API: setFieldLabel()

Miscellaneous settings: Label Editor

About Labels/Titles API

 

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