Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
ContentBoxHelper Class Reference

Static Public Member Functions

static classes ($id, $is_new=false)
 
static switchhref ($id, $params=[])
 
static href ($id, $params=[])
 

Member Function Documentation

static classes (   $id,
  $is_new = false 
)
static

Returns the class open if the id was clicked

Parameters
String$idid of the content box
int$chdatelast change of the displayed article
Returns
String open if the contentbox is open otherwise an empty String
static href (   $id,
  $params = [] 
)
static

Link to the contentbox (Required when some action should take place)

Parameters
String$idId of the content box
Array$paramsother needed parameters
Returns
String Url to the contentbox
static switchhref (   $id,
  $params = [] 
)
static

Produces an html link to open a contentbox if javascript is not active

Parameters
String$idId of the content box
Array$paramsother needed parameters
Returns
String Url to open the contentbox

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