AddBlockToAreaAreaAccess
class AddBlockToAreaAreaAccess extends AreaAccess (View source)
Properties
$error | from ConcreteObject | ||
protected int | $paID | from Access | |
protected int[] | $paIDList | from Access | |
protected ListItem[]|null | $listItems | from Access | |
Key | $pk | from Access | |
bool|int|string | $paIsInUse | from Access |
Methods
Get the object associated to the permission (for example, a Page instance).
Get the object to be used to check the permission (for example, a Page instance).
No description
No description
No description
Details
loadError($error)
No description
isError()
No description
getError()
No description
setPropertiesFromArray($arr)
No description
static
camelcase($file)
No description
static
uncamelcase($string)
No description
in
Access at line 41
setListItems(ListItem[] $listItems)
No description
in
Access at line 49
setPermissionKey(Key $permissionKey)
No description
in
Access at line 59
object
getPermissionObject()
Get the object associated to the permission (for example, a Page instance).
in
Access at line 69
object
getPermissionObjectToCheck()
Get the object to be used to check the permission (for example, a Page instance).
in
Access at line 77
int
getPermissionAccessID()
No description
in
Access at line 85
bool|int|string
isPermissionAccessInUse()
No description
in
Access at line 93
int[]
getPermissionAccessIDList()
No description
bool
validateAccessEntities(Entity[] $accessEntities)
No description
bool
validate()
No description
static
createByMerge($permissions)
No description
ListItem[]
getAccessListItems(int $accessType = PermissionKey::ACCESS_TYPE_INCLUDE, Entity[] $filterEntities = [], bool $checkCache = true)
No description
clearWorkflows()
No description
attachWorkflow(Workflow $wf)
No description
removeWorkflow(Workflow $wf)
No description
Workflow[]
getWorkflows()
No description
markAsInUse()
No description
addListItem(Entity $pae, Duration|null|false $durationObject = false, int $accessType = PermissionKey::ACCESS_TYPE_INCLUDE)
No description
removeListItem(Entity $pe)
No description
save(array $args = [])
No description
protected ListItem[]
deliverAccessListItems(string $q, int $accessType, Entity[] $filterEntities)
No description
protected string
getCacheIdentifier(int $accessType, Entity[] $filterEntities = [])
No description
protected string
buildAssignmentFilterString(int $accessType, Entity[] $filterEntities)
No description