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

Public Member Functions

 Statusgruppe ($statusgruppe_id= '')
 __call ($method, $args)
 getId ()
 setSelfassign ($selfassign)
 restore ()
 store ()
 delete ()
 hasFolder ()
 isSeminar ()
 getData ()
 checkData ()
 getMessages ($msgs)

Static Public Member Functions

static displayOptionsForRoles ($roles, $omit_role=false, $level=0)
static getFlattenedRoles ($roles, $level=0, $parent_name=false)
static getFromArray ($data)
static roleExists ($id)
static countByName ($name, $range_id)

Data Fields

 $new
 $messages = array()
 $statusgruppe_id
 $name = ''
 $range_id = ''
 $position = 0
 $size = 0
 $selfassign = 0
 $mkdate = 0
 $chdate = 0

Detailed Description

This class represents a single Statusgroup and additionally has some helper-functions for working with multiple / structured groups

Author
tgloeggl

Member Function Documentation

__call (   $method,
  $args 
)
checkData ( )

Here is the call graph for this function:

static countByName (   $name,
  $range_id 
)
static

returns the number of statusgroups with the given name and range_id

Parameters
string$namethe name to search for
string$range_idthe Seminar_id, Institut_id, ...
Returns
integer the number of statusgroups found

Here is the call graph for this function:

delete ( )

Here is the call graph for this function:

static displayOptionsForRoles (   $roles,
  $omit_role = false,
  $level = 0 
)
static
getData ( )

Here is the call graph for this function:

static getFlattenedRoles (   $roles,
  $level = 0,
  $parent_name = false 
)
static

Here is the caller graph for this function:

static getFromArray (   $data)
static

Here is the call graph for this function:

Here is the caller graph for this function:

getId ( )
getMessages (   $msgs)

add the classes messages to the submitted msg-array

Parameters
mixed$msgsthe already present messages
Returns
mixed the original+class messages
hasFolder ( )

Here is the call graph for this function:

Here is the caller graph for this function:

isSeminar ( )

Here is the call graph for this function:

Here is the caller graph for this function:

restore ( )

Here is the call graph for this function:

Here is the caller graph for this function:

static roleExists (   $id)
static

Here is the call graph for this function:

setSelfassign (   $selfassign)
Statusgruppe (   $statusgruppe_id = '')

Here is the call graph for this function:

Here is the caller graph for this function:

store ( )

Here is the call graph for this function:

Field Documentation

$chdate = 0
$messages = array()
$mkdate = 0
$name = ''
$new
$position = 0
$range_id = ''
$selfassign = 0
$size = 0
$statusgruppe_id

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