public function loadLocationChildren(Location $location, $offset = 0, $limit = 25, array $prioritizedLanguages = null)
    {
        $values = $this->requestParser->parse('location', $location->id);
        $response = $this->client->request(
            'GET',
            $this->requestParser->generate('locationChildren', array('location' => $values['location'])),
            new Message(
                array('Accept' => $this->outputVisitor->getMediaType('LocationList'))
            )
        );

        return $this->inputDispatcher->parse($response);
    }
public function loadLocationChildren(Location $location, $offset = 0, $limit = 25, array $prioritizedLanguages = null)
    {
        $values = $this->requestParser->parse('location', $location->id);
        $response = $this->client->request(
            'GET',
            $this->requestParser->generate('locationChildren', array('location' => $values['location'])),
            new Message(
                array('Accept' => $this->outputVisitor->getMediaType('LocationList'))
            )
        );

        return $this->inputDispatcher->parse($response);
    }
public function loadLocationChildren ( Location $ location , $ offset = 0 , $ limit = 25 , array $ prioritizedLanguages = null ) { $ values = $ this -> requestParser -> parse ( 'location' , $ location -> id ) ; $ response = $ this -> client -> request ( 'GET' , $ this -> requestParser -> generate ( 'locationChildren' , array ( 'location' => $ values [ 'location' ] ) ) , new Message ( array ( 'Accept' => $ this -> outputVisitor -> getMediaType ( 'LocationList' ) ) ) ) ; return $ this -> inputDispatcher -> parse ( $ response ) ; }
Loads children which are readable by the current user of a location object sorted by sortField and sortOrder.

@param \eZ\Publish\API\Repository\Values\Content\Location $location
@param int $offset the start offset for paging
@param int $limit the number of locations returned
@param string[]|null $prioritizedLanguages Used as prioritized language code on translated properties of returned object.

@return \eZ\Publish\API\Repository\Values\Content\LocationList
Loads children which are readable by the current user of a location object sorted by sortField and sortOrder .