Свойство | Тип | Описание | |
---|---|---|---|
$entityManager | Doctrine\Common\Persistence\ObjectManager | .. | |
$nodeDataPropertyNames | array | For each element, an array of additional settings can be specified; currently the only setting is the following: - columnType => \PDO::PARAM_* | |
$nodeDataStack | array | ||
$nodeIdentifierStack | array | ||
$nodeNameStack | array | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$propertyMapper | |||
$propertyMappingConfiguration | |||
$securityContext |
Метод | Описание | |
---|---|---|
import ( XMLReader $xmlReader, string $targetPath, string $resourceLoadPath = null ) : void | Imports the sub-tree from the xml reader into the given target path. |
Метод | Описание | |
---|---|---|
convertElementToValue ( XMLReader $reader, string $currentType, string $currentEncoding, string $currentClassName, string $currentNodeIdentifier, string $currentProperty ) : mixed | Convert an element to the value it represents. | |
determineFormatVersion ( XMLReader $xmlReader ) : null | string | Determines the ContentRepository format version of the given xml | |
getCurrentPath ( ) : string | Provides the path for a NodeData according to the current stacks | |
getParentPath ( string $path ) : string | Provides the parent of the given path | |
importSubtree ( XMLReader $xmlReader ) : void | Imports the sub-tree from the xml reader into the given target path. | |
parseArrayElements ( XMLReader $reader, string $elementName, string $currentNodeIdentifier ) : array | Parses the content of exported array and returns the values | |
parseDimensionsElement ( XMLReader $reader ) : array | Parses the content of the dimensions-tag and returns the dimensions as an array 'dimension name' => dimension value | |
parseElement ( XMLReader $xmlReader ) : void | Parses the given XML element and adds its content to the internal content tree | |
parseEndElement ( XMLReader $reader ) : void | Parses the closing tags writes data to the database then | |
parsePropertiesElement ( XMLReader $reader, string $currentNodeIdentifier ) : array | Parses the content of the properties-tag and returns the properties as an array 'property name' => property value | |
persistEntities ( mixed $propertyValue ) : void | Checks if a propertyValue contains an entity and persists it. | |
persistNodeData ( array $nodeData ) : void | Saves the given array as a node data entity without using the ORM. |
protected convertElementToValue ( XMLReader $reader, string $currentType, string $currentEncoding, string $currentClassName, string $currentNodeIdentifier, string $currentProperty ) : mixed | ||
$reader | XMLReader | |
$currentType | string | current element (userland) type |
$currentEncoding | string | date encoding of element |
$currentClassName | string | class name of element |
$currentNodeIdentifier | string | identifier of the node |
$currentProperty | string | current property name |
Результат | mixed |
protected determineFormatVersion ( XMLReader $xmlReader ) : null | string | ||
$xmlReader | XMLReader | |
Результат | null | string | the version as a string or null if the version could not be determined |
protected getCurrentPath ( ) : string | ||
Результат | string |
protected getParentPath ( string $path ) : string | ||
$path | string | path to get parent for |
Результат | string | parent path |
public import ( XMLReader $xmlReader, string $targetPath, string $resourceLoadPath = null ) : void | ||
$xmlReader | XMLReader | The XML input to import - must be either XML as a string or a prepared \XMLReader instance containing XML data |
$targetPath | string | path to the node which becomes parent of the root of the imported sub-tree |
$resourceLoadPath | string | |
Результат | void |
protected importSubtree ( XMLReader $xmlReader ) : void | ||
$xmlReader | XMLReader | A prepared XML Reader with the structure to import |
Результат | void |
protected parseDimensionsElement ( XMLReader $reader ) : array | ||
$reader | XMLReader | reader positioned just after an opening dimensions-tag |
Результат | array | the dimension values |
protected parseElement ( XMLReader $xmlReader ) : void | ||
$xmlReader | XMLReader | The XML Reader with the element to be parsed as its root |
Результат | void |
protected parseEndElement ( XMLReader $reader ) : void | ||
$reader | XMLReader | |
Результат | void |
protected parsePropertiesElement ( XMLReader $reader, string $currentNodeIdentifier ) : array | ||
$reader | XMLReader | reader positioned just after an opening properties-tag |
$currentNodeIdentifier | string | |
Результат | array | the properties |
protected persistEntities ( mixed $propertyValue ) : void | ||
$propertyValue | mixed | |
Результат | void |
protected persistNodeData ( array $nodeData ) : void | ||
$nodeData | array | node data to save as an associative array ( $column_name => $value ) |
Результат | void |
protected ObjectManager,Doctrine\Common\Persistence $entityManager | ||
Результат | Doctrine\Common\Persistence\ObjectManager |
protected array $nodeDataPropertyNames | ||
Результат | array |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
protected PropertyMapper,Neos\Flow\Property $propertyMapper | ||
Результат |
protected ImportExportPropertyMappingConfiguration,Neos\ContentRepository\Domain\Service\ImportExport $propertyMappingConfiguration | ||
Результат |