Copied!

BlockingLimitation

BlockingLimitation.php : 18
Extends Limitation

This class represents a Limitation applied to a policy.

Constants

publicCONTENTTYPE

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

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.

protected $identifier

BlockingLimitation.php : 21
protected string $identifier

Methods

public__construct()

BlockingLimitation.php : 31

Create new Blocking Limitation with identifier injected dynamically.

public __construct(string $identifier, array<string|int, mixed> $limitationValues)

Parameters

Name Type Default value Description
$identifier string -

The identifier of the limitation

$limitationValues array<string|int, mixed> - -
Tags
Throws
InvalidArgumentException

If $identifier is empty

publicgetIdentifier()

BlockingLimitation.php : 45

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

public getIdentifier() : string

Return values

string

Tags
See
Limitation::getIdentifier()

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>