PHP Класс Sulu\Bundle\ContentBundle\Content\Types\Checkbox

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

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

Метод Описание
__construct ( $template )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
getTemplate ( ) : string returns a template to render a form.
importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )
write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey )

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

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

public __construct ( $template )

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

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

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

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

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

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