프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$requestContext | Symfony\Component\Routing\RequestContext | ||
$siteAccess | |||
$siteAccessRouter | eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface |
메소드 | 설명 | |
---|---|---|
doGenerate ( mixed $urlResource, array $parameters ) : string | Generates the URL from $urlResource and $parameters. | |
generate ( mixed $urlResource, array $parameters, integer $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH ) : string | Triggers URL generation for $urlResource and $parameters. | |
setLogger ( Psr\Log\LoggerInterface $logger = null ) | ||
setRequestContext ( Symfony\Component\Routing\RequestContext $requestContext ) | ||
setSiteAccess ( |
||
setSiteAccessRouter ( eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface $siteAccessRouter ) |
메소드 | 설명 | |
---|---|---|
generateAbsoluteUrl ( string $uri, Symfony\Component\Routing\RequestContext $requestContext ) : string | Generates an absolute URL from $uri and the request context. |
메소드 | 설명 | |
---|---|---|
getContextBySimplifiedRequest ( |
Merges context from $simplifiedRequest into a clone of the current context. |
public generate ( mixed $urlResource, array $parameters, integer $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH ) : string | ||
$urlResource | mixed | Type can be anything, depending on the context. It's up to the router to pass the appropriate value to the implementor. |
$parameters | array | Arbitrary hash of parameters to generate a link. SiteAccess name can be provided as 'siteaccess' to generate a link to it (cross siteaccess link). |
$referenceType | integer | The type of reference to be generated (one of the constants) |
리턴 | string |
protected generateAbsoluteUrl ( string $uri, Symfony\Component\Routing\RequestContext $requestContext ) : string | ||
$uri | string | |
$requestContext | Symfony\Component\Routing\RequestContext | |
리턴 | string |
public setLogger ( Psr\Log\LoggerInterface $logger = null ) | ||
$logger | Psr\Log\LoggerInterface |
public setRequestContext ( Symfony\Component\Routing\RequestContext $requestContext ) | ||
$requestContext | Symfony\Component\Routing\RequestContext |
public setSiteAccess ( |
||
$siteAccess |
public setSiteAccessRouter ( eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface $siteAccessRouter ) | ||
$siteAccessRouter | eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface |
protected RequestContext,Symfony\Component\Routing $requestContext | ||
리턴 | Symfony\Component\Routing\RequestContext |
protected SiteAccess,eZ\Publish\Core\MVC\Symfony $siteAccess | ||
리턴 |