Class

eZ\Publish\API\Repository\Values\User\PolicyUpdateStruct

abstract class PolicyUpdateStruct extends PolicyStruct

This class is used for updating a policy.

The limitations of the policy are replaced with those which are added in instances of this class.

Methods

Limitation[] getLimitations()

Returns list of limitations added to policy.

from PolicyStruct
addLimitation(Limitation $limitation)

Adds a limitation with the given identifier and list of values.

from PolicyStruct

Details

in PolicyStruct at line 19
abstract public Limitation[] getLimitations()

Returns list of limitations added to policy.

Return Value

Limitation[]

in PolicyStruct at line 26
abstract public addLimitation(Limitation $limitation)

Adds a limitation with the given identifier and list of values.

Parameters

Limitation $limitation