Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
statusgruppe.inc.php File Reference

Namespaces

 studip_core
 

Functions

 GetAllStatusgruppen ($parent, $check_user=null, $exclude=false)
 
 GetRoleNames ($roles, $level=0, $pred= '', $all=false)
 
 get_role_data_recursive ($roles, $user_or_id, $default_entries, $level=0, $pred= '')
 
 getFlattenedRoles ($roles, $level=0, $parent_name=false)
 

Function Documentation

get_role_data_recursive (   $roles,
  $user_or_id,
  $default_entries,
  $level = 0,
  $pred = '' 
)
Parameters
$roles
$user_or_id
$default_entries
int$level
string$pred
Returns
array
GetAllStatusgruppen (   $parent,
  $check_user = null,
  $exclude = false 
)

Returns all statusgruppen for the given range.

If there is no statusgruppe for the given range, it returns FALSE.

Parameters
string$range_id
string$user_id
Returns
array (structure statusgruppe_id => name)
getFlattenedRoles (   $roles,
  $level = 0,
  $parent_name = false 
)
Parameters
$roles
int$level
bool$parent_name
Returns
array
GetRoleNames (   $roles,
  $level = 0,
  $pred = '',
  $all = false 
)
Parameters
$roles
int$level
string$pred
bool$all
Returns
array|null