Property | Type | Description | |
---|---|---|---|
$entityManager | Doctrine\Common\Persistence\ObjectManager | ||
$globalObjects | array | Array of registered global objects that can be accessed as operands | |
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$operand | mixed | ||
$operandDefinition | string | array | ||
$operator | string | ||
$parameters | array | Raw parameter values | |
$path | string | Property path the currently parsed expression relates to | |
$persistenceManager | |||
$policyService | |||
$securityContext |
Method | Description | |
---|---|---|
__construct ( string $path ) | ||
equals ( string | array $operandDefinition ) : |
||
getObjectValueByPath ( mixed $object, string $path ) : mixed | Redirects directly to \Neos\Utility\ObjectAccess::getPropertyPath($result, $propertyPath) This is only needed for unit tests! | |
getSql ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string | ||
getValueForOperand ( mixed $expression ) : mixed | Returns the static value of the given operand, this might be also a global object | |
greaterOrEqual ( mixed $operandDefinition ) : |
||
greaterThan ( mixed $operandDefinition ) : |
||
in ( mixed $operandDefinition ) : |
||
lessOrEqual ( mixed $operandDefinition ) : |
||
lessThan ( mixed $operandDefinition ) : |
||
like ( mixed $operandDefinition ) : |
||
notEquals ( string | array $operandDefinition ) : |
Method | Description | |
---|---|---|
getConstraintStringForSimpleProperty ( SQLFilter $sqlFilter, string $propertyPointer, string $operandDefinition = null ) : string | ||
getRawParameterValue ( mixed $name ) : mixed | ||
getSqlForManyToOneAndOneToOneRelationsWithPropertyPath ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
getSqlForManyToOneAndOneToOneRelationsWithoutPropertyPath ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
getSqlForSimpleProperty ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
getSubselectQuery ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetEntityPropertyName ) : |
||
setParameter ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, mixed $name, mixed $value, string $type = null ) : void |
public __construct ( string $path ) | ||
$path | string | Property path the currently parsed expression relates to |
protected getRawParameterValue ( mixed $name ) : mixed | ||
$name | mixed | |
return | mixed | the raw parameter value |
public getSql ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias ) : string | ||
$sqlFilter | Doctrine\ORM\Query\Filter\SQLFilter | |
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
return | string |
protected getSqlForManyToOneAndOneToOneRelationsWithPropertyPath ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
$sqlFilter | Doctrine\ORM\Query\Filter\SQLFilter | |
$quoteStrategy | Doctrine\ORM\Mapping\QuoteStrategy | |
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
$targetEntityPropertyName | string | |
return | string |
protected getSqlForManyToOneAndOneToOneRelationsWithoutPropertyPath ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
$sqlFilter | Doctrine\ORM\Query\Filter\SQLFilter | |
$quoteStrategy | Doctrine\ORM\Mapping\QuoteStrategy | |
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
$targetEntityPropertyName | string | |
return | string |
protected getSqlForSimpleProperty ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy, Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName ) : string | ||
$sqlFilter | Doctrine\ORM\Query\Filter\SQLFilter | |
$quoteStrategy | Doctrine\ORM\Mapping\QuoteStrategy | |
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetTableAlias | string | |
$targetEntityPropertyName | string | |
return | string |
protected getSubselectQuery ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetEntityPropertyName ) : |
||
$targetEntity | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
$targetEntityPropertyName | string | |
return |
public getValueForOperand ( mixed $expression ) : mixed | ||
$expression | mixed | The expression string representing the operand |
return | mixed | The calculated value |
public greaterOrEqual ( mixed $operandDefinition ) : |
||
$operandDefinition | mixed | |
return | the current instance to allow for method chaining |
public greaterThan ( mixed $operandDefinition ) : |
||
$operandDefinition | mixed | |
return | the current instance to allow for method chaining |
public lessOrEqual ( mixed $operandDefinition ) : |
||
$operandDefinition | mixed | |
return | the current instance to allow for method chaining |
protected ObjectManager,Doctrine\Common\Persistence $entityManager | ||
return | Doctrine\Common\Persistence\ObjectManager |
protected array $globalObjects | ||
return | array |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected string $path | ||
return | string |
protected PersistenceManager,Neos\Flow\Persistence\Doctrine $persistenceManager | ||
return |
protected PolicyService,Neos\Flow\Security\Policy $policyService | ||
return |