- Documentation >
- Guide >
- Search >
- Search Criteria reference >
- ObjectStateIdentifier
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
| $query->query = new Criterion\ObjectStateIdentifier(['ready']);
|
| $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
|