Skip to content

ObjectStateIdentifier Criterion

The ObjectStateIdentifier Search Criterion searches for content based on its Object State identifier.

Arguments

  • value - string(s) representing the Object State identifier(s)
  • (optional) target - string representing the Object State group

Example

1
$query->query = new Criterion\ObjectStateIdentifier(['ready']);
1
$query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');