Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Dashboard API > Methods and objects of the dashboard API > Overwritable methods

Label of the widget (getTitle)

Scroll Prev Top Next More

This function must be implemented for each widget that it can be displayed in JobRouter. It should return a unique label for the widget as a string. Optionally, a language constant can also be returned.

The returned value is used to display the widget collection and is written to the title bar of the widget unless another value is specified in the getData method.

Example:

public function getTitle()

{

    return CONST_MY_WIDGET_NAME;

}