Stud.IP  jlu_3.3 Revision
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()

__call (   $method,
  $args 
)

◆ checkData()

checkData ( )
Here is the call graph for this function:

◆ countByName()

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()

delete ( )
Here is the call graph for this function:

◆ displayOptionsForRoles()

static displayOptionsForRoles (   $roles,
  $omit_role = false,
  $level = 0 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getData()

getData ( )
Here is the call graph for this function:

◆ getFlattenedRoles()

static getFlattenedRoles (   $roles,
  $level = 0,
  $parent_name = false 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFromArray()

static getFromArray (   $data)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getId()

getId ( )

◆ getMessages()

getMessages (   $msgs)

add the classes messages to the submitted msg-array

Parameters
mixed$msgsthe already present messages
Returns
mixed the original+class messages
Here is the call graph for this function:

◆ hasFolder()

hasFolder ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSeminar()

isSeminar ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ restore()

restore ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ roleExists()

static roleExists (   $id)
static
Here is the call graph for this function:

◆ setSelfassign()

setSelfassign (   $selfassign)

◆ Statusgruppe()

Statusgruppe (   $statusgruppe_id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ store()

store ( )
Here is the call graph for this function:

Field Documentation

◆ $chdate

$chdate = 0

◆ $messages

$messages = array()

◆ $mkdate

$mkdate = 0

◆ $name

$name = ''

◆ $new

$new

◆ $position

$position = 0

◆ $range_id

$range_id = ''

◆ $selfassign

$selfassign = 0

◆ $size

$size = 0

◆ $statusgruppe_id

$statusgruppe_id

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