PHP Класс Neos\Neos\Ui\Domain\Model\Changes\AbstractCreate

Наследование: extends Neos\Neos\Ui\Domain\Model\AbstractChange
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$data array Incoming data from creationDialog
$initialProperties array A set of properties, that will be saved with the new node
$name string | null An (optional) name that will be used for the new node path
$nodeService TYPO3\TYPO3CR\Domain\Service\NodeServiceInterface
$nodeType TYPO3\TYPO3CR\Domain\Model\NodeType The type of the node that will be created
$nodeTypeManager TYPO3\TYPO3CR\Domain\Service\NodeTypeManager
$parentDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress The node dom address for the parent node of the created node
$siblingDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress The node dom address for the referenced sibling node of the created node

Открытые методы

Метод Описание
canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean Checks whether this change can be merged with a subsequent change
getData ( ) : array Get the data
getInitialProperties ( ) : array Get the initial properties
getMode ( ) : string Get the insertion mode (before|after|into) that is represented by this change
getName ( ) : string | null Get the name
getNodeType ( ) : TYPO3\TYPO3CR\Domain\Model\NodeType Get the node type
getParentDomAddress ( ) : RenderedNodeDomAddress Get the parent node dom address
getSiblingDomAddress ( ) : RenderedNodeDomAddress Get the sibling node dom address
merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void Merges this change with a subsequent change
setData ( array $data ) Set the data
setInitialProperties ( array $initialProperties ) Set the initial properties
setName ( string $name ) Set the name
setNodeType ( string $nodeType ) Set the node type
setNodeType ( string | TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType ) Set the node type
setParentDomAddress ( RenderedNodeDomAddress $parentDomAddress = null ) : void Set the parent node dom address
setSiblingDomAddress ( RenderedNodeDomAddress $siblingDomAddress = null ) : void Set the sibling node dom address

Защищенные методы

Метод Описание
applyNodeCreationHandlers ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : void Apply nodeCreationHandlers
createNode ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $parent ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface Creates a new node beneath $parent

Описание методов

applyNodeCreationHandlers() защищенный Метод

Apply nodeCreationHandlers
protected applyNodeCreationHandlers ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $node ) : void
$node TYPO3\TYPO3CR\Domain\Model\NodeInterface
Результат void

canMerge() публичный Метод

Checks whether this change can be merged with a subsequent change
public canMerge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : boolean
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
Результат boolean

createNode() защищенный Метод

Creates a new node beneath $parent
protected createNode ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $parent ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface
$parent TYPO3\TYPO3CR\Domain\Model\NodeInterface
Результат TYPO3\TYPO3CR\Domain\Model\NodeInterface

getData() публичный Метод

Get the data
public getData ( ) : array
Результат array

getInitialProperties() публичный Метод

Get the initial properties
public getInitialProperties ( ) : array
Результат array

getMode() абстрактный публичный Метод

Get the insertion mode (before|after|into) that is represented by this change
abstract public getMode ( ) : string
Результат string

getName() публичный Метод

Get the name
public getName ( ) : string | null
Результат string | null

getNodeType() публичный Метод

Get the node type
public getNodeType ( ) : TYPO3\TYPO3CR\Domain\Model\NodeType
Результат TYPO3\TYPO3CR\Domain\Model\NodeType

getParentDomAddress() публичный Метод

Get the parent node dom address
public getParentDomAddress ( ) : RenderedNodeDomAddress
Результат Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

getSiblingDomAddress() публичный Метод

Get the sibling node dom address
public getSiblingDomAddress ( ) : RenderedNodeDomAddress
Результат Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

merge() публичный Метод

Merges this change with a subsequent change
public merge ( Neos\Neos\Ui\Domain\Model\ChangeInterface $subsequentChange ) : void
$subsequentChange Neos\Neos\Ui\Domain\Model\ChangeInterface
Результат void

setData() публичный Метод

Set the data
public setData ( array $data )
$data array

setInitialProperties() публичный Метод

Set the initial properties
public setInitialProperties ( array $initialProperties )
$initialProperties array

setName() публичный Метод

Set the name
public setName ( string $name )
$name string

setNodeType() публичный Метод

Set the node type
public setNodeType ( string $nodeType )
$nodeType string

setNodeType() публичный Метод

Set the node type
public setNodeType ( string | TYPO3\TYPO3CR\Domain\Model\NodeType $nodeType )
$nodeType string | TYPO3\TYPO3CR\Domain\Model\NodeType

setParentDomAddress() публичный Метод

Set the parent node dom address
public setParentDomAddress ( RenderedNodeDomAddress $parentDomAddress = null ) : void
$parentDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress
Результат void

setSiblingDomAddress() публичный Метод

Set the sibling node dom address
public setSiblingDomAddress ( RenderedNodeDomAddress $siblingDomAddress = null ) : void
$siblingDomAddress Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress
Результат void

Описание свойств

$data защищенное свойство

Incoming data from creationDialog
protected array $data
Результат array

$initialProperties защищенное свойство

A set of properties, that will be saved with the new node
protected array $initialProperties
Результат array

$name защищенное свойство

An (optional) name that will be used for the new node path
protected string|null $name
Результат string | null

$nodeService защищенное свойство

protected NodeServiceInterface,TYPO3\TYPO3CR\Domain\Service $nodeService
Результат TYPO3\TYPO3CR\Domain\Service\NodeServiceInterface

$nodeType защищенное свойство

The type of the node that will be created
protected NodeType,TYPO3\TYPO3CR\Domain\Model $nodeType
Результат TYPO3\TYPO3CR\Domain\Model\NodeType

$nodeTypeManager защищенное свойство

protected NodeTypeManager,TYPO3\TYPO3CR\Domain\Service $nodeTypeManager
Результат TYPO3\TYPO3CR\Domain\Service\NodeTypeManager

$parentDomAddress защищенное свойство

The node dom address for the parent node of the created node
protected RenderedNodeDomAddress,Neos\Neos\Ui\Domain\Model $parentDomAddress
Результат Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress

$siblingDomAddress защищенное свойство

The node dom address for the referenced sibling node of the created node
protected RenderedNodeDomAddress,Neos\Neos\Ui\Domain\Model $siblingDomAddress
Результат Neos\Neos\Ui\Domain\Model\RenderedNodeDomAddress