PHP Класс Sulu\Component\Content\Types\TextEditor

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

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

Метод Описание
__construct ( $template, Sulu\Bundle\MarkupBundle\Markup\MarkupParserInterface $markupParser, $markupNamespace = 'sulu' )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
getTemplate ( )
read ( 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 )

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

Метод Описание
removeValidation ( string $content ) : string Removes validation attributes.
validate ( string $content, string $locale ) : string Returns validated content.

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

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

public __construct ( $template, Sulu\Bundle\MarkupBundle\Markup\MarkupParserInterface $markupParser, $markupNamespace = 'sulu' )
$markupParser Sulu\Bundle\MarkupBundle\Markup\MarkupParserInterface

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

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

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

public getTemplate ( )

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

public read ( 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