PHP Класс Sulu\Bundle\CategoryBundle\Content\Types\CategoryList

Наследование: extends Sulu\Component\Content\ComplexContentType, implements Sulu\Component\Content\ContentTypeExportInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface $categoryManager, $template )
exportData ( $propertyValue )
getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property )
getTemplate ( ) : string returns a template to render a form.
getType ( ) : integer returns type of ContentType PRE_SAVE or POST_SAVE.
importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )
read ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
remove ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey )

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

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

public __construct ( Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface $categoryManager, $template )
$categoryManager Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface

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

public exportData ( $propertyValue )

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

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

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

returns a template to render a form.
public getTemplate ( ) : string
Результат string

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

returns type of ContentType PRE_SAVE or POST_SAVE.
public getType ( ) : integer
Результат integer

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

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

public read ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface

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

public remove ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface

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

public write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface