[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 245 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 |
Constructor. |
setParent(ParentNodeDefinitionInterface $parent = null) X-Ref |
Set the parent node. param: ParentNodeDefinitionInterface $parent The parent node return: NodeBuilder This node builder |
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: ParentNodeDefinitionInterface The parent node |
node($name, $type) X-Ref |
Creates a child node. param: string $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() ; param: NodeDefinition $node return: NodeBuilder This node builder |
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: NodeBuilder This node builder |
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: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |