Help class to provide links to render help texts. More...
Static Public Member Functions | |
static | render ($key, $controller=null) |
Render the help text calls to fetch translated help texts vis ajax calls. |
Help class to provide links to render help texts.
static help::render | ( | $ | key, | |
$ | controller = null | |||
) | [static] |
Render the help text calls to fetch translated help texts vis ajax calls.
Example usage:
Entering <?php help::render('edit'); ?> somewhere on a page (view) will create a clickable icon that fetches the help text from the current controller.
By adding a second parameter to the call: <?php help::render('edit', 'extinfo'); ?> the information is instead fetched from the extinfo controller.
$key | string | |
$controller | string = null |