Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
SkipLinks Class Reference
Collaboration diagram for SkipLinks:
Collaboration graph

Static Public Member Functions

static insertContainer ()
static addLink ($name, $url, $position=null, $overwriteable=false)
static addIndex ($name, $id, $position=null, $overwriteable=false)
static getHTML ()

Detailed Description

The SkipLinks class provides utility functions to handle the integration of skip links.

Member Function Documentation

static addIndex (   $name,
  $id,
  $position = null,
  $overwriteable = false 
)
static

Adds a link to an anker on the same page to the list of skip links.

Parameters
string$namethe displayed name of the links
string$idthe id of the anker
integer$positionthe position of the link in the list
boolean$overwriteablefalse if position is not overwritable by another link

Here is the call graph for this function:

Here is the caller graph for this function:

static addLink (   $name,
  $url,
  $position = null,
  $overwriteable = false 
)
static

Adds a link to the list of skip links.

Parameters
string$namethe displayed name of the links
string$urlthe url of the links
integer$positionthe position of the link in the list
boolean$overwriteablefalse if position is not overwritable by another link

Here is the call graph for this function:

Here is the caller graph for this function:

static getHTML ( )
static

Returns the formatted list of skip links

Returns
string the formatted list of skip links

Here is the call graph for this function:

static insertContainer ( )
static

Inserts container for skip links in page layout.

Here is the call graph for this function:


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