Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

Priority Criterion

The Location\Priority Search Criterion searches for locations based on their priority.

This Criterion is available only for Location Search.

Arguments

  • operator- Operator constant (GT, GTE, LT, LTE, BETWEEN)
  • value - int(s) representing the priority

The value argument requires:

  • a list of ints for Operator::BETWEEN
  • a single int for other Operators

Example

PHP

1
2
3
4
5
use Ibexa\Contracts\Core\Repository\Values\Content\Query;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;

$query = new Query();
$query->query = new Criterion\Location\Priority(Criterion\Operator::GTE, 50);