Sets the field tooltip.
Syntax
Labels::setFieldTooltip($table, $field, $tooltip, $language)
Arguments
$table
the table name.
$field
the field name.
$tooltip
the field tooltip.
$language
the language of the tooltip. If the $language parameter is not specified, the current language is used.
Return value
No return value.
Example
This example shows how to change the "descr" field tooltip of the "carscars" table to "My new tooltip".
Note: You can use this code in the AfterAppInit, AfterTableInit, BeforeProcess events.
Labels::setFieldTooltip("carscars", "descr", "My new tooltip");
See also:
•Labels/Titles API: getFieldTooltip()
•Miscellaneous settings: Edit form tooltips
•Page Designer: Working with page elements