PHP 클래스 eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ChainConfigResolver

상속: implements eZ\Publish\Core\MVC\ConfigResolverInterface
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$resolvers eZ\Publish\Core\MVC\ConfigResolverInterface[]
$sortedResolvers eZ\Publish\Core\MVC\ConfigResolverInterface[]

공개 메소드들

메소드 설명
addResolver ( eZ\Publish\Core\MVC\ConfigResolverInterface $resolver, integer $priority ) Registers $mapper as a valid mapper to be used in the configuration mapping chain.
getAllResolvers ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface[]
getDefaultNamespace ( ) Not supported.
getParameter ( string $paramName, string $namespace = null, string $scope = null ) : mixed Returns value for $paramName, in $namespace.
hasParameter ( string $paramName, string $namespace = null, string $scope = null ) : boolean Checks if $paramName exists in $namespace.
setDefaultNamespace ( string $defaultNamespace ) Changes the default namespace to look parameter into.

보호된 메소드들

메소드 설명
sortResolvers ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface[] Sort the registered mappers by priority.

메소드 상세

addResolver() 공개 메소드

When this mapper will be called in the chain depends on $priority. The highest $priority is, the earliest the router will be called.
public addResolver ( eZ\Publish\Core\MVC\ConfigResolverInterface $resolver, integer $priority )
$resolver eZ\Publish\Core\MVC\ConfigResolverInterface
$priority integer

getAllResolvers() 공개 메소드

public getAllResolvers ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface[]
리턴 eZ\Publish\Core\MVC\ConfigResolverInterface[]

getDefaultNamespace() 공개 메소드

Not supported.
public getDefaultNamespace ( )

getParameter() 공개 메소드

Returns value for $paramName, in $namespace.
public getParameter ( string $paramName, string $namespace = null, string $scope = null ) : mixed
$paramName string The parameter name, without $prefix and the current scope (i.e. siteaccess name).
$namespace string Namespace for the parameter name. If null, the default namespace should be used.
$scope string The scope you need $paramName value for.
리턴 mixed

hasParameter() 공개 메소드

Checks if $paramName exists in $namespace.
public hasParameter ( string $paramName, string $namespace = null, string $scope = null ) : boolean
$paramName string
$namespace string If null, the default namespace should be used.
$scope string The scope you need $paramName value for.
리턴 boolean

setDefaultNamespace() 공개 메소드

Changes the default namespace to look parameter into.
public setDefaultNamespace ( string $defaultNamespace )
$defaultNamespace string

sortResolvers() 보호된 메소드

The highest priority number is the highest priority (reverse sorting).
protected sortResolvers ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface[]
리턴 eZ\Publish\Core\MVC\ConfigResolverInterface[]

프로퍼티 상세

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

protected ConfigResolverInterface[],eZ\Publish\Core\MVC $resolvers
리턴 eZ\Publish\Core\MVC\ConfigResolverInterface[]

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

protected ConfigResolverInterface[],eZ\Publish\Core\MVC $sortedResolvers
리턴 eZ\Publish\Core\MVC\ConfigResolverInterface[]