Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
resolveTags ( &$value, $key ) |
Method | Description | |
---|---|---|
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. |
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 |
public getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
public getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
public getReferencedUuids ( Sulu\Component\Content\Compat\PropertyInterface $property ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
public getViewData ( Sulu\Component\Content\Compat\PropertyInterface $property ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
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 |
public read ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey ) | ||
$node | PHPCR\NodeInterface | |
$property | Sulu\Component\Content\Compat\PropertyInterface |
public remove ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey ) | ||
$node | PHPCR\NodeInterface | |
$property | Sulu\Component\Content\Compat\PropertyInterface |
public write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey ) | ||
$node | PHPCR\NodeInterface | |
$property | Sulu\Component\Content\Compat\PropertyInterface |