DAViCal
PublicSession Class Reference

Public Member Functions

 __construct ()
 
 AllowedTo ( $whatever)
 

Public Attributes

 $username
 
 $user_no
 
 $principal_id
 
 $email
 
 $fullname
 
 $groups
 

Detailed Description

Definition at line 17 of file PublicSession.php.

Constructor & Destructor Documentation

◆ __construct()

PublicSession::__construct ( )

#- The constructor, which just calls the actual type configured

Definition at line 62 of file PublicSession.php.

Member Function Documentation

◆ AllowedTo()

PublicSession::AllowedTo (   $whatever)

Checks whether a user is allowed to do something.

The check is performed to see if the user has that role.

Parameters
string$whateverThe role we want to know if the user has.
Returns
boolean Whether or not the user has the specified role.

Definition at line 98 of file PublicSession.php.


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