BlockAssignment
class BlockAssignment extends Assignment (View source)
Properties
protected Key|null | $pk | from Assignment | |
protected ObjectInterface|null | $permissionObject | The object of the permission (for example, a Page instance). |
from Assignment |
protected | $permissionObjectToCheck |
Methods
ObjectInterface|null
getPermissionObject()
Get the object of the permission (for example, a Page instance).
from
Assignment
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(Block $b)
No description
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