PHP Класс Sulu\Bundle\ContentBundle\Markup\LinkTag

Наследование: implements Sulu\Bundle\MarkupBundle\Tag\TagInterface
Показать файл Открыть проект

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

Метод Описание
__construct ( Sulu\Bundle\ContentBundle\Markup\Link\LinkProviderPoolInterface $linkProviderPool )
parseAll ( array $attributesByTag, $locale )
validateAll ( array $attributesByTag, $locale )

Приватные методы

Метод Описание
getContent ( array $attributes ) : string Returns content or title of given attributes.
getValue ( array $attributes, string $name, mixed $default = null ) : mixed Returns attribute identified by name or default if not exists.
preload ( array $attributesByTag, string $locale, boolean $published = true ) : LinkItem[] Return items for given attributes.

Описание методов

__construct() публичный метод

public __construct ( Sulu\Bundle\ContentBundle\Markup\Link\LinkProviderPoolInterface $linkProviderPool )
$linkProviderPool Sulu\Bundle\ContentBundle\Markup\Link\LinkProviderPoolInterface

parseAll() публичный метод

public parseAll ( array $attributesByTag, $locale )
$attributesByTag array

validateAll() публичный метод

public validateAll ( array $attributesByTag, $locale )
$attributesByTag array