Esempio n. 1
0
 /**
  * List global aliases
  *
  * @param string $languageCode filters those which are valid for the given language
  * @param int $offset
  * @param int $limit
  *
  * @return \eZ\Publish\API\Repository\Values\Content\URLAlias[]
  */
 public function listGlobalAliases($languageCode = null, $offset = 0, $limit = -1)
 {
     return $this->service->listGlobalAliases($languageCode, $offset, $limit);
 }
 /**
  * Returns the list of global URL aliases
  *
  * @return \eZ\Publish\Core\REST\Server\Values\URLAliasRefList
  */
 public function listGlobalURLAliases()
 {
     return new Values\URLAliasRefList($this->urlAliasService->listGlobalAliases(), $this->router->generate('ezpublish_rest_listGlobalURLAliases'));
 }