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

Annotation Allow. More...

+ Inheritance diagram for AllowAnnotation:

Public Member Functions

 initAnnotation (array $properties)
 Initialize the annotation.
 
- Public Member Functions inherited from BaseAnnotation
 asAnnotation ()
 
 __toString ()
 
- Public Member Functions inherited from BaseAnnotationTrait
 getProperties ()
 
 getPropertiesAndValues ($props=NULL)
 
 isSameAs ($annot)
 

Data Fields

 $role
 
 $permission
 
 $resource
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAnnotation
 getDefaultParameters ()
 

Detailed Description

Annotation Allow.

usages :

  • allow("roleName")
  • allow("role"=>"roleName")
  • allow("role"=>"roleName","resource"=>"resourceName","permission"=>"permissionName")
  • allow("roleName","resourceName","permissionName")
Author
jc
Version
1.0.0 @usage('method'=>true,'class'=>true,'inherited'=>true,'multiple'=>true)

Definition at line 19 of file AllowAnnotation.php.

Member Function Documentation

◆ initAnnotation()

initAnnotation ( array  $properties)

Initialize the annotation.

Reimplemented from BaseAnnotation.

Definition at line 30 of file AllowAnnotation.php.

Field Documentation

◆ $permission

$permission

Definition at line 23 of file AllowAnnotation.php.

◆ $resource

$resource

Definition at line 25 of file AllowAnnotation.php.

◆ $role

$role

Definition at line 21 of file AllowAnnotation.php.


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