- Documentation >
- 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)
target
(optional for PHP) - string representing the Object State group
Example
PHP
| $query->query = new Criterion\ObjectStateIdentifier(['ready']);
|
| $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
|
REST API