Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends StructuralExpressionQueryProcessor
 protected function locateStructuralParameters(Queries\IQuery $query)
 {
     $parameters = new Parameters\ParameterCollection();
     (new OrderDirectionStructuralLocator($parameters, $query->getScope()))->buildScope();
     (new RangeStructuralLocator($parameters, $query->getScope()))->buildScope();
     StructuralExpressionLocator::processQuery($parameters, $query, new DynamicFunctionCallProcessor());
     return $parameters->buildRegistry();
 }
Esempio n. 2
0
 protected function locateStructuralParameters(Queries\IQuery $query)
 {
     $parameters = new Parameters\ParameterCollection();
     foreach ($this->structuralExpressionProcessors as $processor) {
         Processors\Structure\StructuralExpressionLocator::processQuery($parameters, $query, $processor);
     }
     return $parameters->buildRegistry();
 }