Public Member Functions |
| | __construct () |
| | loadContent () |
| | setVariables ($variables) |
| | load ($identifier, $variables=array(), $language=null) |
| | addPlainText ($label, $text, $icon=null) |
| | addText ($label, $id) |
| | addLink ($label, $url, $icon=false, $target=false, $attributes=array()) |
| | insertLink ($label, $url, $icon=false, $target=false, $attributes=array()) |
| | open ($state=true) |
| | shouldRender ($state=true) |
| | render () |
| | addWidget (Widget $widget, $index=null) |
| | insertWidget (Widget $widget, $before_index, $index=null) |
| | getWidget ($index) |
| | removeWidget ($index) |
| | hasWidgets () |
Protected Member Functions |
| | interpolate ($string, $variables=array()) |
Additional Inherited Members |
| static | Get () |
| static | $instances = null |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
| addLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$icon = false, |
|
|
|
$target = false, |
|
|
|
$attributes = array() |
|
) |
| |
| addPlainText |
( |
|
$label, |
|
|
|
$text, |
|
|
|
$icon = null |
|
) |
| |
| insertLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$icon = false, |
|
|
|
$target = false, |
|
|
|
$attributes = array() |
|
) |
| |
| interpolate |
( |
|
$string, |
|
|
|
$variables = array() |
|
) |
| |
|
protected |
| load |
( |
|
$identifier, |
|
|
|
$variables = array(), |
|
|
|
$language = null |
|
) |
| |
- Todo:
- Adjust this to db BEFORE release
load help content from db
Renders the help bar. The helpbar will only be rendered if it actually contains any widgets. It will use the template "helpbar.php" located at "templates/helpbar". A notification is dispatched before and after the actual rendering process.
- Returns
- String The HTML code of the rendered helpbar.
Reimplemented from WidgetContainer.
| setVariables |
( |
|
$variables | ) |
|
set variables for help content
| shouldRender |
( |
|
$state = true | ) |
|
Field Documentation
The documentation for this class was generated from the following file: