Свойство | Тип | Описание | |
---|---|---|---|
$defaultEnabled | boolean | ||
$template | string |
Метод | Описание | |
---|---|---|
__construct ( Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface $defaultSnippetManager, Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface $snippetResolver, $defaultEnabled, $template ) | ||
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 ) |
Метод | Описание | |
---|---|---|
getParameterValue ( array $parameter, string $name, mixed $default = null ) : mixed | Returns value of parameter. | |
getSnippets ( Sulu\Component\Content\Compat\PropertyInterface $property ) | Returns snippets with given property value. | |
getUuids ( $data ) | The data is not always normalized, so we normalize the data here. |
public __construct ( Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface $defaultSnippetManager, Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface $snippetResolver, $defaultEnabled, $template ) | ||
$defaultSnippetManager | Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface | |
$snippetResolver | Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface |
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 |