Assignment
class Assignment (View source)
Properties
protected Key|null | $pk | ||
protected ObjectInterface|null | $permissionObject | The object of the permission (for example, a Page instance). |
Methods
setPermissionObject(ObjectInterface $po)
Set the object of the permission (for example, a Page instance).
ObjectInterface|null
getPermissionObject()
Get the object of the permission (for example, a Page instance).
string
getPermissionKeyTaskURL(string $task = '', array $options = [])
Build the URL of a task (replaces the previous getPermissionKeyToolsURL method)
clearPermissionAssignment()
No description
Access|null
getPermissionAccessObject()
No description
Details
setPermissionObject(ObjectInterface $po)
Set the object of the permission (for example, a Page instance).
ObjectInterface|null
getPermissionObject()
Get the object of the permission (for example, a Page instance).
setPermissionKeyObject(Key $pk)
No description
string
getPermissionKeyTaskURL(string $task = '', array $options = [])
Build the URL of a task (replaces the previous getPermissionKeyToolsURL method)
clearPermissionAssignment()
No description
assignPermissionAccess(Access $pa)
No description
Access|null
getPermissionAccessObject()
No description