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

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

+ Inheritance diagram for Role:

Public Member Functions

 __construct (?string $name=null, $parents='')
 
 getParents ()
 
 getParentsArray ()
 
 setParents ($parents)
 
- 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

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

Detailed Description

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

Author
jc
Version
1.0.0

Definition at line 12 of file Role.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $name = null,
  $parents = '' 
)

Definition at line 14 of file Role.php.

Member Function Documentation

◆ getParents()

getParents ( )
Returns
string

Definition at line 29 of file Role.php.

◆ getParentsArray()

getParentsArray ( )
Returns
array

Definition at line 37 of file Role.php.

◆ setParents()

setParents (   $parents)
Parameters
array | string$parents

Definition at line 45 of file Role.php.

Field Documentation

◆ $parents

$parents = ''
protected

Definition at line 23 of file Role.php.


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