프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contextFactory | Neos\ContentRepository\Domain\Service\ContextFactoryInterface | ||
$nodeFactory | |||
$nodeService | Neos\ContentRepository\Domain\Service\NodeServiceInterface | ||
$nodeTypeManager | |||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$priority | integer | ||
$propertyMapper | |||
$securityContext | |||
$sourceTypes | array | ||
$targetType | string |
메소드 | 설명 | |
---|---|---|
convertFrom ( string | array $source, string $targetType = null, array $subProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : mixed | Converts the specified $source into a Node. |
메소드 | 설명 | |
---|---|---|
prepareContextProperties ( string $workspaceName, Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null, array $dimensions = null ) : array | Prepares the context properties for the nodes based on the given workspace and dimensions | |
setNodeProperties ( object $nodeLike, |
Iterates through the given $properties setting them on the specified $node using the appropriate TypeConverters. |
public convertFrom ( string | array $source, string $targetType = null, array $subProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : mixed | ||
$source | string | array | Either a string or array containing the absolute context node path which identifies the node. For example "/sites/mysitecom/homepage/about@user-admin" |
$targetType | string | not used |
$subProperties | array | not used |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
리턴 | mixed | An object or \Neos\Error\Messages\Error if the input format is not supported or could not be converted for other reasons |
protected setNodeProperties ( object $nodeLike, |
||
$nodeLike | object | |
$nodeType | ||
$properties | array | |
$context | ||
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
리턴 | void |
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory | ||
리턴 | Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
protected NodeFactory,Neos\ContentRepository\Domain\Factory $nodeFactory | ||
리턴 |
protected NodeServiceInterface,Neos\ContentRepository\Domain\Service $nodeService | ||
리턴 | Neos\ContentRepository\Domain\Service\NodeServiceInterface |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
리턴 |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
리턴 | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected PropertyMapper,Neos\Flow\Property $propertyMapper | ||
리턴 |
protected Context,Neos\Flow\Security $securityContext | ||
리턴 |