프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 | ||
리턴 |