PHP 클래스 Sulu\Component\Content\Types\TextEditor

상속: extends Sulu\Component\Content\SimpleContentType
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__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