PHP Класс Sulu\Component\Content\Metadata\Loader\XmlLegacyLoader

Наследование: implements Symfony\Component\Config\Loader\LoaderInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )