Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Permission Class Reference

Ubiquity\security\acl\models$Permission This class is part of Ubiquity. More...

+ Inheritance diagram for Permission:

Public Member Functions

 __construct (?string $name=null, int $level=0)
 
 getLevel ()
 
 setLevel (int $level)
 
- Public Member Functions inherited from AbstractAclPart
 __construct (?string $name=null)
 
 getName ()
 
 getId_ ()
 
 setName ($name)
 
 toArray ()
 
 fromArray (array $values)
 
 __toString ()
 
 getType ()
 
 setType (?string $type)
 
 castAs (string $class)
 

Protected Attributes

 $level
 
- Protected Attributes inherited from AbstractAclPart
 $name
 @id @column("name"=>"name","nullable"=>false,"dbType"=>"varchar(100)")
 
 $type =''
 

Detailed Description

Ubiquity\security\acl\models$Permission This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 12 of file Permission.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $name = null,
int  $level = 0 
)

Definition at line 21 of file Permission.php.

Member Function Documentation

◆ getLevel()

getLevel ( )
Returns
int

Definition at line 30 of file Permission.php.

◆ setLevel()

setLevel ( int  $level)
Parameters
int$level

Definition at line 38 of file Permission.php.

Field Documentation

◆ $level

$level
protected

Definition at line 19 of file Permission.php.


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