프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cachedNodeTypes | array | Node types, indexed by name | |
$cachedSubNodeTypes | array | Node types, indexed by supertype | |
$configurationManager | |||
$fallbackNodeTypeName | string | ||
$fullConfigurationCache | |||
$fullNodeTypeConfigurations | array |
메소드 | 설명 | |
---|---|---|
createNodeType ( string $nodeTypeName ) : |
Creates a new node type | |
getNodeType ( string $nodeTypeName ) : |
Returns the specified node type (which could be abstract) | |
getNodeTypes ( boolean $includeAbstractNodeTypes = true ) : array |
Return all registered node types. | |
getSubNodeTypes ( string $superTypeName, boolean $includeAbstractNodeTypes = true ) : array |
Return all non-abstract node types which have a certain $superType, without the $superType itself. | |
hasNodeType ( string $nodeTypeName ) : boolean | Checks if the specified node type exists | |
overrideNodeTypes ( array $completeNodeTypeConfiguration ) : void | This method can be used by Functional of Behavioral Tests to completely override the node types known in the system. |
메소드 | 설명 | |
---|---|---|
evaluateSuperTypeConfiguration ( string $superTypeName, boolean $enabled, array &$completeNodeTypeConfiguration ) : |
Evaluates a single superType configuration and returns the NodeType if enabled. | |
evaluateSuperTypesConfiguration ( array $superTypesConfiguration, array &$completeNodeTypeConfiguration ) : array | Evaluates the given superTypes configuation and returns the array of effective superTypes. | |
loadNodeType ( string $nodeTypeName, array &$completeNodeTypeConfiguration, array $fullNodeTypeConfigurationForType = null ) : |
Load one node type, if it is not loaded yet. | |
loadNodeTypes ( ) : void | Loads all node types into memory. |
public createNodeType ( string $nodeTypeName ) : |
||
$nodeTypeName | string | Unique name of the new node type. Example: "Neos.Neos:Page" |
리턴 |
public getNodeType ( string $nodeTypeName ) : |
||
$nodeTypeName | string | |
리턴 | or NULL |
public getNodeTypes ( boolean $includeAbstractNodeTypes = true ) : array |
||
$includeAbstractNodeTypes | boolean | Whether to include abstract node types, defaults to TRUE |
리턴 | array |
public getSubNodeTypes ( string $superTypeName, boolean $includeAbstractNodeTypes = true ) : array |
||
$superTypeName | string | |
$includeAbstractNodeTypes | boolean | Whether to include abstract node types, defaults to TRUE |
리턴 | array |
public hasNodeType ( string $nodeTypeName ) : boolean | ||
$nodeTypeName | string | Name of the node type |
리턴 | boolean | TRUE if it exists, otherwise FALSE |
protected loadNodeType ( string $nodeTypeName, array &$completeNodeTypeConfiguration, array $fullNodeTypeConfigurationForType = null ) : |
||
$nodeTypeName | string | |
$completeNodeTypeConfiguration | array | the full node type configuration for all node types |
$fullNodeTypeConfigurationForType | array | |
리턴 |
protected loadNodeTypes ( ) : void | ||
리턴 | void |
public overrideNodeTypes ( array $completeNodeTypeConfiguration ) : void | ||
$completeNodeTypeConfiguration | array | |
리턴 | void |
protected array $cachedSubNodeTypes | ||
리턴 | array |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
리턴 |
protected StringFrontend,Neos\Cache\Frontend $fullConfigurationCache | ||
리턴 |