public function convertCriteria($fieldTypeIdentifier, SelectQuery $query, Criterion $criterion, $column)
    {
        if ($this->registry->has($fieldTypeIdentifier)) {
            return $this->registry->get($fieldTypeIdentifier)->handle($query, $criterion, $column);
        }

        if ($this->defaultHandler === null) {
            throw new RuntimeException("No conversion for a field type '$fieldTypeIdentifier' found.");
        }

        return $this->defaultHandler->handle($query, $criterion, $column);
    }
public function convertCriteria($fieldTypeIdentifier, SelectQuery $query, Criterion $criterion, $column)
    {
        if ($this->registry->has($fieldTypeIdentifier)) {
            return $this->registry->get($fieldTypeIdentifier)->handle($query, $criterion, $column);
        }

        if ($this->defaultHandler === null) {
            throw new RuntimeException("No conversion for a field type '$fieldTypeIdentifier' found.");
        }

        return $this->defaultHandler->handle($query, $criterion, $column);
    }
public function convertCriteria ( $ fieldTypeIdentifier , SelectQuery $ query , Criterion $ criterion , $ column ) { if ( $ this -> registry -> has ( $ fieldTypeIdentifier ) ) { return $ this -> registry -> get ( $ fieldTypeIdentifier ) -> handle ( $ query , $ criterion , $ column ) ; } if ( $ this -> defaultHandler === null ) { throw new RuntimeException ( "No conversion for a field type '$fieldTypeIdentifier' found." ) ; } return $ this -> defaultHandler -> handle ( $ query , $ criterion , $ column ) ; }
Converts the criteria into query fragments.

@throws \RuntimeException if Criterion is not applicable to its target

@param string $fieldTypeIdentifier
@param \eZ\Publish\Core\Persistence\Database\SelectQuery $query
@param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion
@param string $column

@return \eZ\Publish\Core\Persistence\Database\Expression
Converts the criteria into query fragments .