This class represents a policy value.
Properties¶
$function¶
|
|
Name of the module function Or all functions with '*'
$id¶
|
|
internal id of the policy
$limitations¶
|
|
an array of \Ibexa\Contracts\Core\Repository\Values\User\Limitation
$module¶
|
|
Name of module, associated with the Policy
$roleId¶
|
|
the role id this policy belongs to
$function¶
Name of the module function Or all functions with '*'.
|
|
Eg: read
$id¶
ID of the policy.
|
|
$module¶
Name of module, associated with the Policy.
|
|
Eg: content
$roleId¶
the ID of the role this policy belongs to.
|
|
Methods¶
__construct() ¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getLimitations() ¶
|
|
Return values
array<string|int, Limitation>
getProperties() ¶
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>