|
| | __construct () |
| |
| | addLink ($label, $url, $weight=1) |
| |
| | __construct () |
| |
| & | addLink ($label, $url, $icon=null, $attributes=array(), $index=null) |
| |
| | __construct () |
| |
| | addCSSClass ($css_class) |
| |
| | removeCSSClass ($css_class) |
| |
| | render ($variables=array()) |
| |
| | addElement (WidgetElement $element, $index=null) |
| |
| | insertElement (WidgetElement $element, $before_index, $index=null) |
| |
| | getElement ($index) |
| |
| | getElements () |
| |
| | removeElement ($index) |
| |
| | hasElements () |
| |
| | hasElement ($index) |
| |
| | forceRendering ($state=true) |
| |
| | render ($variables=array()) |
| |
| | __isset ($offset) |
| |
| | __get ($offset) |
| |
| | __set ($offset, $value) |
| |
| | __unset ($offset) |
| |
A special sidebar widget for link list.
- 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()
Constructs the widget by defining a special template.
Reimplemented from LinksWidget.
◆ addLink()
| addLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$weight = 1 |
|
) |
| |
Adds a link to the widget
- Parameters
-
| String | $label | Label/content of the link |
| String | $url | URL/Location of the link |
| String | $icon | Icon for the link, defaults to blank.gif |
| bool | $active | Pass true if the link is currently active, defaults to false |
The documentation for this class was generated from the following file: