Skip to content

ObjectStateId Criterion

The ObjectStateId Search Criterion searches for content based on its Object State ID.

Arguments

  • value - int(s) representing the Object State ID(s)

Example

1
$query->query = new Criterion\ObjectStateId([4, 5]);