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

Annotation Permission. More...

+ Inheritance diagram for PermissionAnnotation:

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

 $name
 
 $level
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAnnotation
 getDefaultParameters ()
 

Detailed Description

Annotation Permission.

usages :

  • permission("permissionName")
  • permission("permissionName","permissionLevel")
  • permission("name"=>"permissionName")
  • permission("name"=>"permissionName","level"=>"permissionLevel")
  • permission(permissionLevel)
Author
jc
Version
1.0.0 @usage('method'=>true,'class'=>true,'inherited'=>true,'multiple'=>false)

Definition at line 20 of file PermissionAnnotation.php.

Member Function Documentation

◆ initAnnotation()

initAnnotation ( array  $properties)

Initialize the annotation.

Reimplemented from BaseAnnotation.

Definition at line 29 of file PermissionAnnotation.php.

Field Documentation

◆ $level

$level

Definition at line 24 of file PermissionAnnotation.php.

◆ $name

$name

Definition at line 22 of file PermissionAnnotation.php.


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