[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 403 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ArrayNode:: (19 methods):
__construct()
setNormalizeKeys()
preNormalize()
getChildren()
setXmlRemappings()
setAddIfNotSet()
setAllowFalse()
setAllowNewKeys()
setPerformDeepMerging()
setIgnoreExtraKeys()
setName()
hasDefaultValue()
getDefaultValue()
addChild()
finalizeValue()
validateType()
normalizeValue()
remapXml()
mergeValues()
__construct($name, NodeInterface $parent = null) X-Ref |
Constructor. param: string $name The Node's name param: NodeInterface $parent The node parent |
setNormalizeKeys($normalizeKeys) X-Ref |
No description |
preNormalize($value) X-Ref |
Normalizes keys between the different configuration formats. Namely, you mostly have foo_bar in YAML while you have foo-bar in XML. After running this method, all keys are normalized to foo_bar. If you have a mixed key like foo-bar_moo, it will not be altered. The key will also not be altered if the target key already exists. param: mixed $value return: array The value with normalized keys |
getChildren() X-Ref |
Retrieves the children of this node. return: array The children |
setXmlRemappings(array $remappings) X-Ref |
Sets the xml remappings that should be performed. param: array $remappings an array of the form array(array(string, string)) |
setAddIfNotSet($boolean) X-Ref |
Sets whether to add default values for this array if it has not been defined in any of the configuration files. param: bool $boolean |
setAllowFalse($allow) X-Ref |
Sets whether false is allowed as value indicating that the array should be unset. param: bool $allow |
setAllowNewKeys($allow) X-Ref |
Sets whether new keys can be defined in subsequent configurations. param: bool $allow |
setPerformDeepMerging($boolean) X-Ref |
Sets if deep merging should occur. param: bool $boolean |
setIgnoreExtraKeys($boolean) X-Ref |
Whether extra keys should just be ignore without an exception. param: bool $boolean To allow extra keys |
setName($name) X-Ref |
Sets the node Name. param: string $name The node's name |
hasDefaultValue() X-Ref |
Checks if the node has a default value. return: bool |
getDefaultValue() X-Ref |
Retrieves the default value. return: array The default value |
addChild(NodeInterface $node) X-Ref |
Adds a child node. param: NodeInterface $node The child node to add |
finalizeValue($value) X-Ref |
Finalizes the value of this node. param: mixed $value return: mixed The finalised value |
validateType($value) X-Ref |
Validates the type of the value. param: mixed $value |
normalizeValue($value) X-Ref |
Normalizes the value. param: mixed $value The value to normalize return: mixed The normalized value |
remapXml($value) X-Ref |
Remaps multiple singular values to a single plural value. param: array $value The source values return: array The remapped values |
mergeValues($leftSide, $rightSide) X-Ref |
Merges values together. param: mixed $leftSide The left side to merge. param: mixed $rightSide The right side to merge. return: mixed The merged values |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |