Метод | Описание | |
---|---|---|
__construct ( Sulu\Component\Content\ContentTypeManagerInterface $contentTypeManager, $template, $languageNamespace ) | ||
exportData ( $propertyValue ) | ||
getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property ) | ||
getTemplate ( ) | ||
getType ( ) | ||
getViewData ( Sulu\Component\Content\Compat\PropertyInterface $property ) | ||
hasValue ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey ) | ||
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 ) |
Метод | Описание | |
---|---|---|
doWrite ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey, boolean $isImport = false ) | Save the value from given property. | |
prepareData ( Sulu\Component\Content\Compat\PropertyInterface $property, callable $dataCallback, boolean $returnType = true ) : array | Returns prepared data from property use callback to prepare data foreach property function($contentType, $property). | |
writeProperty ( Sulu\Component\Content\Compat\PropertyInterface $property, Sulu\Component\Content\Compat\PropertyInterface $blockProperty, $value, $index, PHPCR\NodeInterface $node, $userId, $webspaceKey, $languageCode, $segmentKey, $isImport = false ) | write a property to node. |
public __construct ( Sulu\Component\Content\ContentTypeManagerInterface $contentTypeManager, $template, $languageNamespace ) | ||
$contentTypeManager | Sulu\Component\Content\ContentTypeManagerInterface |
public getContentData ( 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 hasValue ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey ) | ||
$node | PHPCR\NodeInterface | |
$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 |