Skip to content

ContentId Criterion

The ContentId Search Criterion searches for content by its ID.

Arguments

  • value - int(s) representing the Content ID(s).

Example

1
$query->query = new Criterion\ContentId([62, 64]);