메소드 | 설명 | |
---|---|---|
accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean | Check if this criterion handler accepts to handle the given criterion. | |
handle ( |
Generate query expression for a Criterion this handler accepts. |
메소드 | 설명 | |
---|---|---|
getBoundingConstraints ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue $location, float $distance ) : array | Credit for the formula goes to http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates. | |
getBoundingCoordinates ( eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue $location, float $distance ) : array | Calculates and returns bounding box coordinates. | |
getFieldDefinitionIds ( string $fieldIdentifier ) : array | Returns a list of IDs of searchable FieldDefinitions for the given criterion target. | |
kilometersToDegrees ( $kilometers ) |
protected getBoundingConstraints ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue $location, float $distance ) : array | ||
$query | eZ\Publish\Core\Persistence\Database\SelectQuery | |
$location | eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue | |
$distance | float | |
리턴 | array |
protected getBoundingCoordinates ( eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue $location, float $distance ) : array | ||
$location | eZ\Publish\API\Repository\Values\Content\Query\Criterion\Value\MapLocationValue | |
$distance | float | |
리턴 | array |
protected getFieldDefinitionIds ( string $fieldIdentifier ) : array | ||
$fieldIdentifier | string | |
리턴 | array |
public handle ( |
||
$converter | ||
$query | eZ\Publish\Core\Persistence\Database\SelectQuery | |
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$languageSettings | array | |
리턴 | eZ\Publish\Core\Persistence\Database\Expression |