Unlike Obj#
children
, which returns an array, andIsChildOf
returns an ObjSearch
instance. This facilitates further search refinement, ordering and boosting.
If the parent Obj
has no path or is not assigned to a specific site, i.e., its siteId
is null
, an empty search is returned.