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

Public Member Functions

 __construct ()
addLink ($label, $url, $icon=null, $attributes=array())
- Public Member Functions inherited from ListWidget
 addCSSClass ($css_class)
 removeCSSClass ($css_class)
 render ($variables=array())
- Public Member Functions inherited from SidebarWidget
 setTitle ($title)
 getTitle ()
 removeTitle ()
 setExtra ($extra)
 getExtra ()
 removeExtra ()
- Public Member Functions inherited from Widget
 addElement (WidgetElement $element, $index=null)
 insertElement (WidgetElement $element, $before_index, $index=null)
 getElement ($index)
 removeElement ($index)
 hasElements ()
 forceRendering ($state=true)
 __isset ($offset)
 __get ($offset)
 __set ($offset, $value)
 __unset ($offset)

Additional Inherited Members

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

Detailed Description

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 GPL 2 or later
Since
3.1

Constructor & Destructor Documentation

__construct ( )

Constructs the widget by defining a special template.

Reimplemented from ListWidget.

Reimplemented in LinkCloudWidget, ActionsWidget, ExportWidget, NavigationWidget, and ViewsWidget.

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
bool$activePass true if the link is currently active, defaults to false

Reimplemented in ViewsWidget.

Here is the call graph for this function:


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