PHP 클래스 eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter

상속: extends Symfony\Bundle\FrameworkBundle\Routing\Router, implements Symfony\Component\Routing\Matcher\RequestMatcherInterface, implements eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface
$nonSiteAccessAwareRoutes
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess
$siteAccessRouter eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface

공개 메소드들

메소드 설명
generate ( $name, $parameters = [], $referenceType = self::ABSOLUTE_PATH )
getContextBySimplifiedRequest ( SimplifiedRequest $simplifiedRequest ) : Symfony\Component\Routing\RequestContext Merges context from $simplifiedRequest into a clone of the current context.
matchRequest ( Request $request )
setConfigResolver ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver )
setNonSiteAccessAwareRoutes ( array $routes ) Injects route names that are not supposed to be SiteAccess aware.
setSiteAccess ( SiteAccess $siteAccess = null )
setSiteAccessRouter ( eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface $siteAccessRouter )

보호된 메소드들

메소드 설명
isSiteAccessAwareRoute ( $routeName ) : boolean Checks if $routeName is a siteAccess aware route, and thus needs to have siteAccess URI prepended.

메소드 상세

generate() 공개 메소드

public generate ( $name, $parameters = [], $referenceType = self::ABSOLUTE_PATH )

getContextBySimplifiedRequest() 공개 메소드

Merges context from $simplifiedRequest into a clone of the current context.
public getContextBySimplifiedRequest ( SimplifiedRequest $simplifiedRequest ) : Symfony\Component\Routing\RequestContext
$simplifiedRequest eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest
리턴 Symfony\Component\Routing\RequestContext

isSiteAccessAwareRoute() 보호된 메소드

Will be used for link generation, only in the case of URI SiteAccess matching.
protected isSiteAccessAwareRoute ( $routeName ) : boolean
$routeName
리턴 boolean

matchRequest() 공개 메소드

public matchRequest ( Request $request )
$request Symfony\Component\HttpFoundation\Request

setConfigResolver() 공개 메소드

public setConfigResolver ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver )
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface

setNonSiteAccessAwareRoutes() 공개 메소드

i.e. Routes pointing to asset generation (like assetic).
public setNonSiteAccessAwareRoutes ( array $routes )
$routes array

setSiteAccess() 공개 메소드

public setSiteAccess ( SiteAccess $siteAccess = null )
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess

setSiteAccessRouter() 공개 메소드

public setSiteAccessRouter ( eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface $siteAccessRouter )
$siteAccessRouter eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface

프로퍼티 상세

$configResolver 보호되어 있는 프로퍼티

protected ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver
리턴 eZ\Publish\Core\MVC\ConfigResolverInterface

$nonSiteAccessAwareRoutes 보호되어 있는 프로퍼티

protected $nonSiteAccessAwareRoutes

$siteAccess 보호되어 있는 프로퍼티

protected SiteAccess,eZ\Publish\Core\MVC\Symfony $siteAccess
리턴 eZ\Publish\Core\MVC\Symfony\SiteAccess

$siteAccessRouter 보호되어 있는 프로퍼티

protected SiteAccessRouterInterface,eZ\Publish\Core\MVC\Symfony\SiteAccess $siteAccessRouter
리턴 eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessRouterInterface