help Class Reference

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.

Detailed Description

Help class to provide links to render help texts.


Member Function Documentation

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.

Parameters:
$key string
$controller string = null
Returns:
string

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1