This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
    
Depth Criterion¶
The Location\Depth Search Criterion
searches for Locations based on their depth in the Content tree.
This Criterion is available only for Location Search.
Arguments¶
operator- Operator constant (IN, EQ, GT, GTE, LT, LTE, BETWEEN)value- int(s) representing the Location depth(s)
The value argument requires:
- a list of ints for 
Operator::IN - exactly two ints for 
Operator::BETWEEN - a single int for other Operators
 
Example¶
PHP¶
1 |  |