Class ObjectStateLimitation.
This Object state serves as API limitation for "StateGroup" from legacy, StateGroup stored a combination of StateGroup identifier as well as State id(s) while this one only cares about the state id's.
Constants¶
CONTENTTYPE ¶
|
|
LANGUAGE ¶
|
|
LOCATION ¶
|
|
NEWSECTION ¶
|
|
NEWSTATE ¶
|
|
OWNER ¶
|
|
PARENTCONTENTTYPE ¶
|
|
PARENTDEPTH ¶
|
|
PARENTOWNER ¶
|
|
PARENTUSERGROUP ¶
|
|
SECTION ¶
|
|
SITEACCESS ¶
|
|
STATE ¶
|
|
STATUS ¶
|
|
SUBTREE ¶
|
|
USERGROUP ¶
|
|
Properties¶
$limitationValues
¶
A read-only list of IDs or identifiers for which the limitation should be applied.
|
|
The value of this property must conform to a hash, which means that it may only consist of array and scalar values, but must not contain objects or resources.
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> | [] | - |
getIdentifier()
¶
Returns the limitation identifier (one of the defined constants) or a custom limitation.
|
|
Return values
string
Tags
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>