Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
ViewsWidget Class Reference
Inheritance diagram for ViewsWidget:
Inheritance graph
Collaboration diagram for ViewsWidget:
Collaboration graph

Public Member Functions

 __construct ()
addLink ($label, $url, $icon=null, $attributes=array())

Additional Inherited Members

- Protected Member Functions inherited from Widget
 guessIndex (WidgetElement $element)
- Protected Attributes inherited from ListWidget
 $css_classes = array()

Constructor & Destructor Documentation

__construct ( )

Constructs the widget by defining a special template.

Reimplemented from LinksWidget.

Here is the call graph for this function:

Member Function Documentation

& addLink (   $label,
  $url,
  $icon = null,
  $attributes = array() 
)

Adds a link to the widget

Parameters
String$labelLabel/content of the link
String$urlURL/Location of the link
String$iconIcon for the link, defaults to blank.gif (will be discarded)
bool$activePass true if the link is currently active, defaults to false

Reimplemented from LinksWidget.


The documentation for this class was generated from the following file: