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.
Sibling Criterion¶
The Sibling
Search Criterion
searches for content under the same parent as the indicated Location.
Arguments¶
locationId
- int representing the Location ID.parentLocationId
- int representing the parent Location ID.
Example¶
1 |
|
You can also use the named constructor Criterion\Sibling::fromLocation
and provide it with the Location object:
1 2 |
|