Gets the field placeholder.
Syntax
Labels::getPlaceholder($table, $field, $language)
Arguments
$table
the table name.
$field
the field name.
$language
the language of the placeholder. If the $language parameter is not specified, the current language is used.
Return value
Returns the field placeholder. Placeholder can be set in the Edit As settings or in the Label Editor on the Miscellaneous settings screen.
Example
Gets the "descr" field placeholder of the "carscars" table.
Labels::getPlaceholder("carscars", "descr");
See also:
•Labels/Titles API: setPlaceholder()
•Miscellaneous settings: Label Editor
•"Edit As" settings: Text Field
•Page Designer: Working with page elements