Stud.IP  trunk Revision
Seminar_Perm Class Reference
Collaboration diagram for Seminar_Perm:
Collaboration graph

Public Member Functions

 check ($must_have)
 
 get_perm ($user_id=false)
 
 have_perm ($perm, $user_id=false)
 
 get_studip_perm ($range_id, $user_id=false)
 
 get_uncached_studip_perm ($range_id, $user_id)
 
 have_studip_perm ($perm, $range_id, $user_id=false)
 
 get_profile_perm ($range_id, $user_id=false)
 
 get_uncached_profile_perm ($range_id, $user_id)
 
 have_profile_perm ($perm, $range_id, $user_id=false)
 
 is_fak_admin ($user_id=false)
 
 is_staff_member ($user_id=false)
 

Static Public Member Functions

static get ()
 

Data Fields

 $permissions
 
 autor
 

Detailed Description

Seminar_Perm.class.php

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author
André Noack noack.nosp@m.@dat.nosp@m.a-que.nosp@m.st.d.nosp@m.e

Member Function Documentation

◆ check()

check (   $must_have)
Parameters
$must_have
Exceptions
AccessDeniedException
Here is the call graph for this function:

◆ get()

static get ( )
static
Returns
Seminar_Perm
Here is the caller graph for this function:

◆ get_perm()

get_perm (   $user_id = false)
Parameters
bool$user_id
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_profile_perm()

get_profile_perm (   $range_id,
  $user_id = false 
)
Parameters
$range_id
bool$user_id
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_studip_perm()

get_studip_perm (   $range_id,
  $user_id = false 
)
Parameters
$range_id
bool$user_id
Returns
mixed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_uncached_profile_perm()

get_uncached_profile_perm (   $range_id,
  $user_id 
)
Parameters
$range_id
$user_id
Returns
bool|string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_uncached_studip_perm()

get_uncached_studip_perm (   $range_id,
  $user_id 
)
Parameters
$range_id
$user_id
Returns
bool|string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ have_perm()

have_perm (   $perm,
  $user_id = false 
)
Parameters
$perm
bool$user_id
Returns
bool
Here is the call graph for this function:
Here is the caller graph for this function:

◆ have_profile_perm()

have_profile_perm (   $perm,
  $range_id,
  $user_id = false 
)
Parameters
$perm
$range_id
bool$user_id
Returns
bool
Here is the call graph for this function:

◆ have_studip_perm()

have_studip_perm (   $perm,
  $range_id,
  $user_id = false 
)
Parameters
$perm
$range_id
bool$user_id
Returns
bool
Here is the call graph for this function:

◆ is_fak_admin()

is_fak_admin (   $user_id = false)
Parameters
bool$user_id
Returns
bool
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_staff_member()

is_staff_member (   $user_id = false)
Parameters
bool$user_id
Returns
bool
Here is the call graph for this function:

Field Documentation

◆ $permissions

$permissions
Initial value:
= [
"user" => 1

◆ autor

autor
Initial value:
=> 3,
"tutor" => 7,
"dozent" => 15,
"admin" => 31,
"root" => 63
]

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