PHP Class Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlFilter

Inheritance: extends Doctrine\ORM\Query\Filter\SQLFilter
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$policyService Neos\Flow\Security\Policy\PolicyService
$securityContext Neos\Flow\Security\Context

Méthodes publiques

Méthode Description
addFilterConstraint ( ClassMetadata $targetEntity, string $targetTableAlias ) : string Gets the SQL query part to add to a query.

Méthodes protégées

Méthode Description
initializeDependencies ( ) : void Initializes the dependencies by retrieving them from the object manager

Method Details

addFilterConstraint() public méthode

Gets the SQL query part to add to a query.
public addFilterConstraint ( ClassMetadata $targetEntity, string $targetTableAlias ) : string
$targetEntity ClassMetadata Metadata object for the target entity to be filtered
$targetTableAlias string The target table alias used in the current query
Résultat string The constraint SQL if there is available, empty string otherwise

initializeDependencies() protected méthode

Initializes the dependencies by retrieving them from the object manager
protected initializeDependencies ( ) : void
Résultat void

Property Details

$policyService protected_oe property

protected PolicyService,Neos\Flow\Security\Policy $policyService
Résultat Neos\Flow\Security\Policy\PolicyService

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
Résultat Neos\Flow\Security\Context