[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 238 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
NodeBuilder:: (14 methods):
__construct()
setParent()
arrayNode()
scalarNode()
booleanNode()
integerNode()
floatNode()
enumNode()
variableNode()
end()
node()
append()
setNodeClass()
getNodeClass()
Class: NodeBuilder - X-Ref
This class provides a fluent interface for building a node.__construct() X-Ref |
No description |
setParent(ParentNodeDefinitionInterface $parent = null) X-Ref |
Set the parent node. return: $this |
arrayNode($name) X-Ref |
Creates a child array node. param: string $name The name of the node return: ArrayNodeDefinition The child node |
scalarNode($name) X-Ref |
Creates a child scalar node. param: string $name The name of the node return: ScalarNodeDefinition The child node |
booleanNode($name) X-Ref |
Creates a child Boolean node. param: string $name The name of the node return: BooleanNodeDefinition The child node |
integerNode($name) X-Ref |
Creates a child integer node. param: string $name The name of the node return: IntegerNodeDefinition The child node |
floatNode($name) X-Ref |
Creates a child float node. param: string $name The name of the node return: FloatNodeDefinition The child node |
enumNode($name) X-Ref |
Creates a child EnumNode. param: string $name return: EnumNodeDefinition |
variableNode($name) X-Ref |
Creates a child variable node. param: string $name The name of the node return: VariableNodeDefinition The builder of the child node |
end() X-Ref |
Returns the parent node. return: NodeDefinition&ParentNodeDefinitionInterface The parent node |
node($name, $type) X-Ref |
Creates a child node. param: string|null $name The name of the node param: string $type The type of the node return: NodeDefinition The child node |
append(NodeDefinition $node) X-Ref |
Appends a node definition. Usage: $node = new ArrayNodeDefinition('name') ->children() ->scalarNode('foo')->end() ->scalarNode('baz')->end() ->append($this->getBarNodeDefinition()) ->end() ; return: $this |
setNodeClass($type, $class) X-Ref |
Adds or overrides a node Type. param: string $type The name of the type param: string $class The fully qualified name the node definition class return: $this |
getNodeClass($type) X-Ref |
Returns the class name of the node definition. param: string $type The node type return: string The node definition class name |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |