PHP 클래스 Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\PropertyConditionGenerator

상속: implements Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\SqlGeneratorInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 Neos\Flow\Persistence\Doctrine\PersistenceManager
$policyService Neos\Flow\Security\Policy\PolicyService
$securityContext Neos\Flow\Security\Context

공개 메소드들

메소드 설명
__construct ( string $path )
equals ( string | array $operandDefinition ) : PropertyConditionGenerator
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 ) : PropertyConditionGenerator
greaterThan ( mixed $operandDefinition ) : PropertyConditionGenerator
in ( mixed $operandDefinition ) : PropertyConditionGenerator
lessOrEqual ( mixed $operandDefinition ) : PropertyConditionGenerator
lessThan ( mixed $operandDefinition ) : PropertyConditionGenerator
like ( mixed $operandDefinition ) : PropertyConditionGenerator
notEquals ( string | array $operandDefinition ) : PropertyConditionGenerator

보호된 메소드들

메소드 설명
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 ) : Query
setParameter ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, mixed $name, mixed $value, string $type = null ) : void

메소드 상세

__construct() 공개 메소드

public __construct ( string $path )
$path string Property path the currently parsed expression relates to

equals() 공개 메소드

public equals ( string | array $operandDefinition ) : PropertyConditionGenerator
$operandDefinition string | array
리턴 PropertyConditionGenerator the current instance to allow for method chaining

getConstraintStringForSimpleProperty() 보호된 메소드

protected getConstraintStringForSimpleProperty ( SQLFilter $sqlFilter, string $propertyPointer, string $operandDefinition = null ) : string
$sqlFilter SQLFilter
$propertyPointer string
$operandDefinition string
리턴 string

getObjectValueByPath() 공개 메소드

Redirects directly to \Neos\Utility\ObjectAccess::getPropertyPath($result, $propertyPath) This is only needed for unit tests!
public getObjectValueByPath ( mixed $object, string $path ) : mixed
$object mixed The object to fetch the property from
$path string The path to the property to be fetched
리턴 mixed The property value

getRawParameterValue() 보호된 메소드

protected getRawParameterValue ( mixed $name ) : mixed
$name mixed
리턴 mixed the raw parameter value

getSql() 공개 메소드

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
리턴 string

getSqlForManyToOneAndOneToOneRelationsWithPropertyPath() 보호된 메소드

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
리턴 string

getSqlForManyToOneAndOneToOneRelationsWithoutPropertyPath() 보호된 메소드

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
리턴 string

getSqlForSimpleProperty() 보호된 메소드

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
리턴 string

getSubselectQuery() 보호된 메소드

protected getSubselectQuery ( Doctrine\Common\Persistence\Mapping\ClassMetadata $targetEntity, string $targetEntityPropertyName ) : Query
$targetEntity Doctrine\Common\Persistence\Mapping\ClassMetadata
$targetEntityPropertyName string
리턴 Neos\Flow\Persistence\Doctrine\Query

getValueForOperand() 공개 메소드

Returns the static value of the given operand, this might be also a global object
public getValueForOperand ( mixed $expression ) : mixed
$expression mixed The expression string representing the operand
리턴 mixed The calculated value

greaterOrEqual() 공개 메소드

public greaterOrEqual ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

greaterThan() 공개 메소드

public greaterThan ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

in() 공개 메소드

public in ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

lessOrEqual() 공개 메소드

public lessOrEqual ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

lessThan() 공개 메소드

public lessThan ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

like() 공개 메소드

public like ( mixed $operandDefinition ) : PropertyConditionGenerator
$operandDefinition mixed
리턴 PropertyConditionGenerator the current instance to allow for method chaining

notEquals() 공개 메소드

public notEquals ( string | array $operandDefinition ) : PropertyConditionGenerator
$operandDefinition string | array
리턴 PropertyConditionGenerator the current instance to allow for method chaining

setParameter() 보호된 메소드

protected setParameter ( Doctrine\ORM\Query\Filter\SQLFilter $sqlFilter, mixed $name, mixed $value, string $type = null ) : void
$sqlFilter Doctrine\ORM\Query\Filter\SQLFilter
$name mixed
$value mixed
$type string
리턴 void

프로퍼티 상세

$entityManager 보호되어 있는 프로퍼티

protected ObjectManager,Doctrine\Common\Persistence $entityManager
리턴 Doctrine\Common\Persistence\ObjectManager

$globalObjects 보호되어 있는 프로퍼티

Array of registered global objects that can be accessed as operands
protected array $globalObjects
리턴 array

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$operand 보호되어 있는 프로퍼티

protected mixed $operand
리턴 mixed

$operandDefinition 보호되어 있는 프로퍼티

protected string|array $operandDefinition
리턴 string | array

$operator 보호되어 있는 프로퍼티

protected string $operator
리턴 string

$parameters 보호되어 있는 프로퍼티

Raw parameter values
protected array $parameters
리턴 array

$path 보호되어 있는 프로퍼티

Property path the currently parsed expression relates to
protected string $path
리턴 string

$persistenceManager 보호되어 있는 프로퍼티

protected PersistenceManager,Neos\Flow\Persistence\Doctrine $persistenceManager
리턴 Neos\Flow\Persistence\Doctrine\PersistenceManager

$policyService 보호되어 있는 프로퍼티

protected PolicyService,Neos\Flow\Security\Policy $policyService
리턴 Neos\Flow\Security\Policy\PolicyService

$securityContext 보호되어 있는 프로퍼티

protected Context,Neos\Flow\Security $securityContext
리턴 Neos\Flow\Security\Context