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

setPermissionObject(Block $b)

No description

getPermissionObject()

Get the object of the permission (for example, a Page instance).

setPermissionKeyObject(Key $pk)

No description

string
getPermissionKeyToolsURL(string|null|false $task = false)

No description

clearPermissionAssignment()

No description

assignPermissionAccess(Access $pa)

No description

Access|null
getPermissionAccessObject()

No description

Details

setPermissionObject(Block $b)

Parameters

Block $b

ObjectInterface|null getPermissionObject()

Get the object of the permission (for example, a Page instance).

Return Value

ObjectInterface|null

setPermissionKeyObject(Key $pk)

Parameters

Key $pk

string getPermissionKeyToolsURL(string|null|false $task = false)

Parameters

string|null|false $task

Return Value

string

clearPermissionAssignment()

assignPermissionAccess(Access $pa)

Parameters

Access $pa

Access|null getPermissionAccessObject()

Return Value

Access|null