Copied!

ApplicationStateLimitation

ApplicationStateLimitation.php : 13
Extends Limitation

This class represents a Limitation applied to a policy.

Constants

publicCONTENTTYPE

Limitation.php : 19
public mixed CONTENTTYPE = 'Class'

publicIDENTIFIER

ApplicationStateLimitation.php : 15
public mixed IDENTIFIER = 'ApplicationState'

publicLANGUAGE

Limitation.php : 20
public mixed LANGUAGE = 'Language'

publicLOCATION

Limitation.php : 21
public mixed LOCATION = 'Node'

publicNEWSECTION

Limitation.php : 27
public mixed NEWSECTION = 'NewSection'

publicNEWSTATE

Limitation.php : 30
public mixed NEWSTATE = 'NewState'

publicOWNER

Limitation.php : 22
public mixed OWNER = 'Owner'

publicPARENTCONTENTTYPE

Limitation.php : 24
public mixed PARENTCONTENTTYPE = 'ParentClass'

publicPARENTDEPTH

Limitation.php : 25
public mixed PARENTDEPTH = 'ParentDepth'

publicPARENTOWNER

Limitation.php : 23
public mixed PARENTOWNER = 'ParentOwner'

publicPARENTUSERGROUP

Limitation.php : 33
public mixed PARENTUSERGROUP = 'ParentGroup'

publicSECTION

Limitation.php : 26
public mixed SECTION = 'Section'

publicSITEACCESS

Limitation.php : 28
public mixed SITEACCESS = 'SiteAccess'

publicSTATE

Limitation.php : 29
public mixed STATE = 'State'

publicSTATUS

Limitation.php : 34
public mixed STATUS = 'Status'

publicSUBTREE

Limitation.php : 31
public mixed SUBTREE = 'Subtree'

publicUSERGROUP

Limitation.php : 32
public mixed USERGROUP = 'Group'

Properties

public $limitationValues

Limitation.php : 45

A read-only list of IDs or identifiers for which the limitation should be applied.

public array<string|int, mixed> $limitationValues = []

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

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

public __construct([array<string|int, mixed> $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> [] -

publicgetIdentifier()

ApplicationStateLimitation.php : 17

Returns the limitation identifier (one of the defined constants) or a custom limitation.

public getIdentifier() : string

Return values

string

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

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>