eZ\Publish\Core\SignalSlot\LocationService::loadLocations PHP Метод

loadLocations() публичный Метод

If a $rootLocation is given, only locations that belong to this location are returned. The location list is also filtered by permissions on reading locations.
public loadLocations ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\Location $rootLocation = null ) : eZ\Publish\API\Repository\Values\Content\Location[]
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$rootLocation eZ\Publish\API\Repository\Values\Content\Location
Результат eZ\Publish\API\Repository\Values\Content\Location[] An array of {@link Location}
    public function loadLocations(ContentInfo $contentInfo, Location $rootLocation = null)
    {
        return $this->service->loadLocations($contentInfo, $rootLocation);
    }