|
| | __construct () |
| |
| | loadContent () |
| |
| | setVariables ($variables) |
| |
| | load ($identifier, $variables=array(), $language=null) |
| |
| | addPlainText ($label, $text, $icon=null, $edit_link=null, $delete_link=null, $add_link=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) |
| |
| | getWidgets () |
| |
| | removeWidget ($index) |
| |
| | hasWidgets () |
| |
| | hasWidget ($index) |
| |
| | render () |
| |
Help section
- Author
- Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m @license GPL 2 or later
- Since
- 3.1
◆ __construct()
◆ addLink()
| addLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$icon = false, |
|
|
|
$target = false, |
|
|
|
$attributes = array() |
|
) |
| |
◆ addPlainText()
| addPlainText |
( |
|
$label, |
|
|
|
$text, |
|
|
|
$icon = null, |
|
|
|
$edit_link = null, |
|
|
|
$delete_link = null, |
|
|
|
$add_link = null |
|
) |
| |
◆ addText()
◆ insertLink()
| insertLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$icon = false, |
|
|
|
$target = false, |
|
|
|
$attributes = array() |
|
) |
| |
◆ interpolate()
| interpolate |
( |
|
$string, |
|
|
|
$variables = array() |
|
) |
| |
|
protected |
◆ load()
| load |
( |
|
$identifier, |
|
|
|
$variables = array(), |
|
|
|
$language = null |
|
) |
| |
- Todo:
- Adjust this to db BEFORE release
◆ loadContent()
load help content from db
◆ open()
◆ render()
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()
| setVariables |
( |
|
$variables | ) |
|
set variables for help content
◆ shouldRender()
| shouldRender |
( |
|
$state = true | ) |
|
◆ $json_directory
◆ $open
◆ $should_render
◆ $variables
The documentation for this class was generated from the following file: