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

Inheritance: extends Doctrine\ORM\Query\Filter\SQLFilter
ファイルを表示 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$policyService Neos\Flow\Security\Policy\PolicyService
$securityContext Neos\Flow\Security\Context

Public Methods

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

Protected Methods

Method Description
initializeDependencies ( ) : void Initializes the dependencies by retrieving them from the object manager

Method Details

addFilterConstraint() public method

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
return string The constraint SQL if there is available, empty string otherwise

initializeDependencies() protected method

Initializes the dependencies by retrieving them from the object manager
protected initializeDependencies ( ) : void
return void

Property Details

$policyService protected_oe property

protected PolicyService,Neos\Flow\Security\Policy $policyService
return Neos\Flow\Security\Policy\PolicyService

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
return Neos\Flow\Security\Context