Skip to content

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
$query->filter = new Criterion\SectionId(['1', '3']);