class PageAssignment extends Assignment (View source)

Properties

PageKey $pk
protected ObjectInterface|null $permissionObject The object of the permission (for example, a Page instance). from Assignment
protected array $inheritedPageTypeDraftPermissions Permissions that come from "Edit Page Type Draft" permissions.

Methods

setPermissionObject(ObjectInterface $po)

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

getPermissionObject()

No description

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

Page getPermissionObject()

Return Value

Page

setPermissionKeyObject(Key $pk)

Parameters

Key $pk

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

Parameters

string|null|false $task

Return Value

string

See also

\Concrete\Core\Permission\Assignment\Assignment::getPermissionKeyToolsURL()

clearPermissionAssignment()

See also

\Concrete\Core\Permission\Assignment\Assignment::clearPermissionAssignment()

assignPermissionAccess(Access $pa)

Parameters

Access $pa

See also

\Concrete\Core\Permission\Assignment\Assignment::assignPermissionAccess()

Access|null getPermissionAccessObject()

Return Value

Access|null

See also

\Concrete\Core\Permission\Assignment\Assignment::getPermissionAccessObject()