PHP 클래스 Sulu\Component\SmartContent\ContentType

상속: extends Sulu\Component\Content\ComplexContentType
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Component\SmartContent\DataProviderPoolInterface $dataProviderPool, Sulu\Bundle\TagBundle\Tag\TagManagerInterface $tagManager, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Component\Tag\Request\TagRequestHandlerInterface $tagRequestHandler, Sulu\Component\Category\Request\CategoryRequestHandlerInterface $categoryRequestHandler, string $template ) SmartContentType constructor.
exportData ( $propertyValue )
getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
getReferencedUuids ( Sulu\Component\Content\Compat\PropertyInterface $property )
getTemplate ( )
getType ( )
getViewData ( Sulu\Component\Content\Compat\PropertyInterface $property )
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 )

보호된 메소드들

메소드 설명
resolveTags ( &$value, $key )

비공개 메소드들

메소드 설명
getCurrentPage ( string $pageParameter ) : integer Determine current page from current request.
getProvider ( Sulu\Component\Content\Compat\PropertyInterface $property ) : Sulu\Component\SmartContent\DataProviderInterface Returns provider for given property.

메소드 상세

__construct() 공개 메소드

SmartContentType constructor.
public __construct ( Sulu\Component\SmartContent\DataProviderPoolInterface $dataProviderPool, Sulu\Bundle\TagBundle\Tag\TagManagerInterface $tagManager, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Component\Tag\Request\TagRequestHandlerInterface $tagRequestHandler, Sulu\Component\Category\Request\CategoryRequestHandlerInterface $categoryRequestHandler, string $template )
$dataProviderPool Sulu\Component\SmartContent\DataProviderPoolInterface
$tagManager Sulu\Bundle\TagBundle\Tag\TagManagerInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$tagRequestHandler Sulu\Component\Tag\Request\TagRequestHandlerInterface
$categoryRequestHandler Sulu\Component\Category\Request\CategoryRequestHandlerInterface
$template string

exportData() 공개 메소드

public exportData ( $propertyValue )

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

getReferencedUuids() 공개 메소드

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

getTemplate() 공개 메소드

public getTemplate ( )

getType() 공개 메소드

public getType ( )

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

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

resolveTags() 보호된 메소드

protected resolveTags ( &$value, $key )
$value
$key

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