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).

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(ObjectInterface $po)

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

Parameters

ObjectInterface $po

ObjectInterface|null getPermissionObject()

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

Return Value

ObjectInterface|null

setPermissionKeyObject(Key $pk)

No description

Parameters

Key $pk

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

No description

Parameters

string|null|false $task

Return Value

string

clearPermissionAssignment()

No description

assignPermissionAccess(Access $pa)

No description

Parameters

Access $pa

Access|null getPermissionAccessObject()

No description

Return Value

Access|null