PHP Класс Sulu\Bundle\ContentBundle\Teaser\TeaserContentType

Наследование: extends Sulu\Component\Content\SimpleContentType
Показать файл Открыть проект

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

Метод Описание
__construct ( string $template, Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface $providerPool, Sulu\Bundle\ContentBundle\Teaser\TeaserManagerInterface $teaserManager )
getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
getTemplate ( )
getViewData ( Sulu\Component\Content\Compat\PropertyInterface $property )
importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )

Защищенные методы

Метод Описание
decodeValue ( $value )
encodeValue ( $value )

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

Метод Описание
getValue ( Sulu\Component\Content\Compat\PropertyInterface $property ) : array Returns property-value merged with defaults.

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

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

public __construct ( string $template, Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface $providerPool, Sulu\Bundle\ContentBundle\Teaser\TeaserManagerInterface $teaserManager )
$template string
$providerPool Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface
$teaserManager Sulu\Bundle\ContentBundle\Teaser\TeaserManagerInterface

decodeValue() защищенный Метод

protected decodeValue ( $value )

encodeValue() защищенный Метод

protected encodeValue ( $value )

getContentData() публичный Метод

public getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property )
$property Sulu\Component\Content\Compat\PropertyInterface

getDefaultParams() публичный Метод

public getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
$property Sulu\Component\Content\Compat\PropertyInterface

getTemplate() публичный Метод

public getTemplate ( )

getViewData() публичный Метод

public getViewData ( Sulu\Component\Content\Compat\PropertyInterface $property )
$property Sulu\Component\Content\Compat\PropertyInterface

importData() публичный Метод

public importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface