Метод |
Описание |
|
__construct ( eZ\Publish\API\Repository\Repository $repository, Symfony\Component\Routing\RouterInterface $defaultRouter, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, array $unsafeCharMap = [] ) |
|
|
doGenerate ( eZ\Publish\API\Repository\Values\Content\Location $location, array $parameters ) : string |
Generates the URL from $urlResource and $parameters. |
|
getPathPrefixByRootLocationId ( integer $rootLocationId, array $languages = null, string $siteaccess = null ) : string |
Returns path corresponding to $rootLocationId. |
|
isUriPrefixExcluded ( string $uri ) : boolean |
Checks if passed URI has an excluded prefix, when a root location is defined. |
|
loadLocation ( integer $locationId ) : Location |
Loads a location by its locationId, regardless to user limitations since the router is invoked BEFORE security (no user authenticated yet). |
|
setExcludedUriPrefixes ( array $excludedUriPrefixes ) |
|
|
setRootLocationId ( integer $rootLocationId ) |
Injects current root locationId that will be used for link generation. |
|