Свойство | Тип | Описание | |
---|---|---|---|
$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 $cachedNodeTypes | ||
Результат | array |
protected array $cachedSubNodeTypes | ||
Результат | array |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
Результат |
protected StringFrontend,Neos\Cache\Frontend $fullConfigurationCache | ||
Результат |
protected array $fullNodeTypeConfigurations | ||
Результат | array |