|
const | FOLDER_VIEW = 1 |
|
const | FOLDER_CREATE = 2 |
|
const | FOLDER_RENAME = 4 |
|
const | FOLDER_DELETE = 8 |
|
const | FILE_VIEW = 16 |
|
const | FILE_CREATE = 32 |
|
const | FILE_RENAME = 64 |
|
const | FILE_DELETE = 128 |
|
const | IMAGE_RESIZE = 256 |
|
const | IMAGE_RESIZE_CUSTOM = 512 |
|
const | FILE_UPLOAD = 32 |
|
◆ byName()
Returns a numeric value for the passed permission name.
- Parameters
-
string | $name | permission constant name |
- Returns
- int permission value
- Exceptions
-
InvalidArgumentException when the permission with a given name was not found
◆ getAll()
Returns an array of all permissions defined in the Permission class constants.
- Returns
- array an array of permission constants in the form of PERMISSION_NAME => value
◆ FILE_UPLOAD
The documentation for this class was generated from the following file: