PHP Class eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct

See also: eZ\Publish\API\Repository\Values\User\PolicyCreateStruct
Inheritance: extends eZ\Publish\API\Repository\Values\User\PolicyCreateStruct
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$limitations eZ\Publish\API\Repository\Values\User\Limitation[] List of limitations added to policy.

Méthodes publiques

Méthode Description
__construct ( string $module, string $function ) Instantiates a policy create struct.
addLimitation ( eZ\Publish\API\Repository\Values\User\Limitation $limitation ) Adds a limitation with the given identifier and list of values.
getLimitations ( ) : eZ\Publish\API\Repository\Values\User\Limitation[] Returns list of limitations added to policy.

Method Details

__construct() public méthode

Instantiates a policy create struct.
public __construct ( string $module, string $function )
$module string
$function string

addLimitation() public méthode

Adds a limitation with the given identifier and list of values.
public addLimitation ( eZ\Publish\API\Repository\Values\User\Limitation $limitation )
$limitation eZ\Publish\API\Repository\Values\User\Limitation

getLimitations() public méthode

Returns list of limitations added to policy.
public getLimitations ( ) : eZ\Publish\API\Repository\Values\User\Limitation[]
Résultat eZ\Publish\API\Repository\Values\User\Limitation[]

Property Details

$limitations protected_oe property

List of limitations added to policy.
protected Limitation[],eZ\Publish\API\Repository\Values\User $limitations
Résultat eZ\Publish\API\Repository\Values\User\Limitation[]