PHP 클래스 Sulu\Component\Content\Metadata\Loader\XmlLegacyLoader

상속: implements Symfony\Component\Config\Loader\LoaderInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Component\HttpCache\CacheLifetimeResolverInterface $cacheLifetimeResolver )
getResolver ( )
load ( $resource, $type = 'page' )
setResolver ( Symfony\Component\Config\Loader\LoaderResolverInterface $resolver )
supports ( $resource, $type = null )

비공개 메소드들

메소드 설명
getValueFromXPath ( $path, DOMXPath $xpath, DomNode $context = null, $default = null ) returns value of path.
loadBlock ( $templateKey, DOMXPath $xpath, DOMNode $node, &$tags ) load single block.
loadCacheLifetime ( $path, DOMXPath $xpath ) : array Load cache lifetime metadata.
loadMeta ( $path, DOMXPath $xpath, DOMNode $context = null )
loadParam ( DOMXPath $xpath, DOMNode $node ) load single param.
loadParams ( $path, DOMXPath $xpath, DOMNode $context = null ) load params from given node.
loadProperties ( $templateKey, $path, &$tags, DOMXPath $xpath, DOMNode $context = null ) load properties from given context.
loadProperty ( $templateKey, DOMXPath $xpath, DOMNode $node, &$tags ) load single property.
loadSection ( $templateKey, DOMXPath $xpath, DOMNode $node, &$tags ) load single block.
loadStructureTags ( $path, $xpath ) : array Loads the tags for the structure.
loadTag ( DOMXPath $xpath, DOMNode $node ) load single tag.
loadTags ( $path, &$tags, DOMXPath $xpath, DOMNode $context = null ) load tags from given tag and validates them.
loadTemplateAttributes ( $resource, DOMXPath $xpath, $type ) load basic template attributes.
loadType ( $templateKey, DOMXPath $xpath, DOMNode $node, &$tags ) load single param.
loadTypes ( $templateKey, $path, &$tags, DOMXPath $xpath, DOMNode $context = null ) load types from given node.
loadValues ( DOMXPath $xpath, DOMNode $node, $keys, $prefix = '@' ) load values defined by key from given node.
validateTag ( $tag, &$tags ) validates a single tag.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\HttpCache\CacheLifetimeResolverInterface $cacheLifetimeResolver )
$cacheLifetimeResolver Sulu\Component\HttpCache\CacheLifetimeResolverInterface

getResolver() 공개 메소드

public getResolver ( )

load() 공개 메소드

public load ( $resource, $type = 'page' )

setResolver() 공개 메소드

public setResolver ( Symfony\Component\Config\Loader\LoaderResolverInterface $resolver )
$resolver Symfony\Component\Config\Loader\LoaderResolverInterface

supports() 공개 메소드

public supports ( $resource, $type = null )