class LogsAssignment extends PageAssignment (View source)

Properties

PageKey $pk from  PageAssignment
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.

from  PageAssignment

Methods

setPermissionObject(ObjectInterface $po)

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

getPermissionObject()

No description

setPermissionKeyObject(Key $pk)

No description

string
getPermissionKeyTaskURL(string $task = '', array $options = [])

Build the URL of a task (replaces the previous getPermissionKeyToolsURL method)

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

No description

Return Value

Page

setPermissionKeyObject(Key $pk)

No description

Parameters

Key $pk

string getPermissionKeyTaskURL(string $task = '', array $options = [])

Build the URL of a task (replaces the previous getPermissionKeyToolsURL method)

Parameters

string $task

The task to be executed ('save_permission' if empty)

array $options

Optional arguments (will be added to the query string).

Return Value

string

See also

Assignment::getPermissionKeyTaskURL

clearPermissionAssignment()

assignPermissionAccess(Access $pa)

No description

Access|null getPermissionAccessObject()

No description