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.

SectionId Criterion

The SectionId URL Criterion matches URLs based on the ID of the related content Section.

Arguments

  • sectionIds - array of ints representing the IDs of the related content Sections

Example

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

$query = new URLQuery();
$query->filter = new Criterion\SectionId([1, 3]);