eZ\Publish\Core\SignalSlot\LocationService::loadLocationChildren PHP Method

loadLocationChildren() public method

Loads children which are readable by the current user of a location object sorted by sortField and sortOrder.
public loadLocationChildren ( eZ\Publish\API\Repository\Values\Content\Location $location, integer $offset, integer $limit = 25 ) : eZ\Publish\API\Repository\Values\Content\LocationList
$location eZ\Publish\API\Repository\Values\Content\Location
$offset integer the start offset for paging
$limit integer the number of locations returned
return eZ\Publish\API\Repository\Values\Content\LocationList
    public function loadLocationChildren(Location $location, $offset = 0, $limit = 25)
    {
        return $this->service->loadLocationChildren($location, $offset, $limit);
    }