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 
 
- Copyright
 - 2000 Stud.IP Core-Group @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 
 
 
◆ check()
◆ get()
◆ get_perm()
      
        
          | get_perm  | 
          ( | 
            | 
          $user_id = false | ) | 
           | 
        
      
 
 
◆ get_profile_perm()
      
        
          | get_profile_perm  | 
          ( | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ get_studip_perm()
      
        
          | get_studip_perm  | 
          ( | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ get_uncached_profile_perm()
      
        
          | get_uncached_profile_perm  | 
          ( | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
  
 
- Returns
 - bool|string 
 
 
 
◆ get_uncached_studip_perm()
      
        
          | get_uncached_studip_perm  | 
          ( | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
  
 
- Returns
 - bool|string 
 
 
 
◆ have_perm()
      
        
          | have_perm  | 
          ( | 
            | 
          $perm,  | 
        
        
           | 
           | 
            | 
          $user_id = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ have_profile_perm()
      
        
          | have_profile_perm  | 
          ( | 
            | 
          $perm,  | 
        
        
           | 
           | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
     | $perm |  | 
     | $range_id |  | 
    | bool | $user_id |  | 
  
   
- Returns
 - bool 
 
 
 
◆ have_studip_perm()
      
        
          | have_studip_perm  | 
          ( | 
            | 
          $perm,  | 
        
        
           | 
           | 
            | 
          $range_id,  | 
        
        
           | 
           | 
            | 
          $user_id = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
     | $perm |  | 
     | $range_id |  | 
    | bool | $user_id |  | 
  
   
- Returns
 - bool 
 
 
 
◆ is_fak_admin()
      
        
          | is_fak_admin  | 
          ( | 
            | 
          $user_id = false | ) | 
           | 
        
      
 
 
◆ is_staff_member()
      
        
          | is_staff_member  | 
          ( | 
            | 
          $user_id = false | ) | 
           | 
        
      
 
 
◆ $permissions
Initial value:= [
        "user"   => 1,
        "autor"  => 3,
        "tutor"  => 7,
        "dozent" => 15,
        "admin"  => 31,
        "root"   => 63
    ]
 
 
 
The documentation for this class was generated from the following file: