Public Member Functions |
| | __construct () |
| & | addLink ($label, $url, $icon=null, $attributes=array()) |
Constructor & Destructor Documentation
Constructs the widget by defining a special template.
Reimplemented from LinksWidget.
Member Function Documentation
| & addLink |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$icon = null, |
|
|
|
$attributes = array() |
|
) |
| |
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 (will be discarded) |
| bool | $active | Pass true if the link is currently active, defaults to false |
Reimplemented from LinksWidget.
The documentation for this class was generated from the following file: