- 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