Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\Repository\PermissionsCriterionHandler Class Reference

Handler for permissions Criterion. More...

Inheritance diagram for eZ\Publish\Core\Repository\PermissionsCriterionHandler:

## Public Member Functions
| addPermissionsCriterion (Criterion &$criterion)
| Adds content, read Permission criteria if needed and return false if no access at all. More...
Public Member Functions inherited from eZ\Publish\API\Repository\PermissionCriterionResolver
| getPermissionsCriterion ($module, $function, ?array $targets=null)
| Get criteria representation for a permission. More...

## Detailed Description

Handler for permissions Criterion.

Deprecated:
  6.7.7

Definition at line 18 of file PermissionsCriterionHandler.php.

## Member Function Documentation

## ◆ addPermissionsCriterion()

eZ\Publish\Core\Repository\PermissionsCriterionHandler::addPermissionsCriterion | ( | Criterion & | $criterion | ) |

Adds content, read Permission criteria if needed and return false if no access at all.

@uses \eZ\Publish\Core\Repository\Permission\PermissionCriterionResolver::getPermissionsCriterion()

Parameters

  \eZ\Publish\API\Repository\Values\Content\Query\Criterion | $criterion |

Returns
  bool|\eZ\Publish\API\Repository\Values\Content\Query\Criterion

Definition at line 29 of file PermissionsCriterionHandler.php.

References eZ\Publish\API\Repository\PermissionCriterionResolver\getPermissionsCriterion().

The documentation for this class was generated from the following file:

- PermissionsCriterionHandler.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.