Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends StructuralExpressionQueryProcessor
コード例 #1
0
 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();
 }
コード例 #2
0
ファイル: ConfigurationBase.php プロジェクト: timetoogo/pinq
 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();
 }