XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XCube_Principal Class Reference
Inheritance diagram for XCube_Principal:
Legacy_GenericPrincipal

Public Member Functions

 __construct ( $identity, $roles=[])
 
 getIdentity ()
 
 isInRole ( $rolename)
 

Data Fields

 $mIdentity
 
 $_mRoles = []
 

Detailed Description

Defines the basic functionality of a principal object.

Definition at line 76 of file XCube_Identity.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $identity,
$roles = [] )

Definition at line 88 of file XCube_Identity.class.php.

Member Function Documentation

◆ getIdentity()

getIdentity ( )

Gets a identity object which is tied to this object.

Returns
XCube_Identity

Definition at line 97 of file XCube_Identity.class.php.

◆ isInRole()

isInRole ( $rolename)

Definition at line 108 of file XCube_Identity.class.php.

Field Documentation

◆ $_mRoles

$_mRoles = []

Definition at line 86 of file XCube_Identity.class.php.

◆ $mIdentity

$mIdentity

The identity object which is tied to this object.

Definition at line 80 of file XCube_Identity.class.php.


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