Skip to content

Commit

Permalink
Merge branch '6.13' into 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Longosz committed Sep 24, 2018
2 parents 1e5308d + 40702cf commit f4c921e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Persistence/Content/UrlAlias/Handler.php
Expand Up @@ -69,6 +69,8 @@ public function createGlobalUrlAlias($resource, $path, $forwarding = false, $lan
/**
* List global aliases.
*
* @throws \eZ\Publish\API\Repository\Exceptions\BadStateException if path for any of the global URL aliases is broken
*
* @param string|null $languageCode
* @param int $offset
* @param int $limit
Expand All @@ -80,6 +82,8 @@ public function listGlobalURLAliases($languageCode = null, $offset = 0, $limit =
/**
* List of url entries of $urlType, pointing to $locationId.
*
* @throws \eZ\Publish\API\Repository\Exceptions\BadStateException if any path for the Location is broken
*
* @param mixed $locationId
* @param bool $custom if true the user generated aliases are listed otherwise the autogenerated
*
Expand All @@ -102,6 +106,8 @@ public function removeURLAliases(array $urlAliases);
* Looks up a url alias for the given url.
*
* @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
* @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException
* @throws \eZ\Publish\API\Repository\Exceptions\BadStateException if the stored path for the given URL is broken
*
* @param string $url
*
Expand All @@ -112,9 +118,9 @@ public function lookup($url);
/**
* Loads URL alias by given $id.
*
* @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
* @throws \eZ\Publish\API\Repository\Exceptions\BadStateException if path for the given URL alias is broken
*
* @param string $id
* @param string $id unique identifier in the form of "<parentId>-<text_md5>"
*
* @return \eZ\Publish\SPI\Persistence\Content\UrlAlias
*/
Expand Down

0 comments on commit f4c921e

Please sign in to comment.