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

Static Public Member Functions

static classes ($id, $is_new=false)
static switchhref ($id, $params=array())
static href ($id, $params=array())
static visitType ($type, $ids)

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

Here is the call graph for this function:

static href (   $id,
  $params = array() 
)
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

Here is the call graph for this function:

static switchhref (   $id,
  $params = array() 
)
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

Here is the call graph for this function:

static visitType (   $type,
  $ids 
)
static

Sets an object as visited

Parameters
String$typethe type to be set in the database
Array$idsArray of ids that might be visited with the given type

Here is the call graph for this function:


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