PropertyConditionGenerator
class PropertyConditionGenerator implements SqlGeneratorInterface (View source)
A sql generator to create a sql condition for an entity property.
Properties
protected string | $path | Property path the currently parsed expression relates to |
|
protected string | $operator | ||
protected string|array | $operandDefinition | ||
protected mixed | $operand | ||
protected array | $globalObjects | Array of registered global objects that can be accessed as operands |
|
protected Context | $securityContext | ||
protected ObjectManagerInterface | $objectManager | ||
protected PolicyService | $policyService | ||
protected EntityManagerInterface | $entityManager | ||
protected PersistenceManager | $persistenceManager | ||
protected array | $parameters | Raw parameter values |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns the static value of the given operand, this might be also a global object
No description
No description
Redirects directly to \Neos\Utility\ObjectAccess::getPropertyPath($result, $propertyPath) This is only needed for unit tests!
Details
__construct(string $path)
No description
PropertyConditionGenerator
equals(string|array $operandDefinition)
No description
PropertyConditionGenerator
notEquals(string|array $operandDefinition)
No description
PropertyConditionGenerator
lessThan(mixed $operandDefinition)
No description
PropertyConditionGenerator
lessOrEqual(mixed $operandDefinition)
No description
PropertyConditionGenerator
greaterThan(mixed $operandDefinition)
No description
PropertyConditionGenerator
greaterOrEqual(mixed $operandDefinition)
No description
PropertyConditionGenerator
like(mixed $operandDefinition)
No description
PropertyConditionGenerator
in(mixed $operandDefinition)
No description
PropertyConditionGenerator
contains($operandDefinition)
No description
string
getSql(SQLFilter $sqlFilter, ClassMetadata $targetEntity, string $targetTableAlias)
No description
protected string
getSqlForPropertyContains(SQLFilter $sqlFilter, QuoteStrategy $quoteStrategy, ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName)
No description
protected string
getSqlForSimpleProperty(SQLFilter $sqlFilter, QuoteStrategy $quoteStrategy, ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName)
No description
protected string
getSqlForManyToOneAndOneToOneRelationsWithoutPropertyPath(SQLFilter $sqlFilter, QuoteStrategy $quoteStrategy, ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName)
No description
protected string
getSqlForManyToOneAndOneToOneRelationsWithPropertyPath(SQLFilter $sqlFilter, QuoteStrategy $quoteStrategy, ClassMetadata $targetEntity, string $targetTableAlias, string $targetEntityPropertyName)
No description
protected Query
getSubselectQuery(ClassMetadata $targetEntity, string $targetEntityPropertyName)
No description
protected string
getConstraintStringForSimpleProperty(SQLFilter $sqlFilter, string $propertyPointer, string $operandDefinition = null)
No description
mixed
getValueForOperand(mixed $expression)
Returns the static value of the given operand, this might be also a global object
protected void
setParameter(SQLFilter $sqlFilter, mixed $name, mixed $value, string $type = null)
No description
protected mixed
getRawParameterValue(mixed $name)
No description
mixed
getObjectValueByPath(mixed $object, string $path)
Redirects directly to \Neos\Utility\ObjectAccess::getPropertyPath($result, $propertyPath) This is only needed for unit tests!