[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
The base node class.
Author: | Johannes M. Schmitt <schmittjoh@gmail.com> |
File Size: | 381 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct($name, NodeInterface $parent = null) X-Ref |
param: string|null $name The name of the node param: NodeInterface|null $parent The parent of this node |
setAttribute($key, $value) X-Ref |
param: string $key |
getAttribute($key, $default = null) X-Ref |
param: string $key return: mixed |
hasAttribute($key) X-Ref |
param: string $key return: bool |
getAttributes() X-Ref |
return: array |
setAttributes(array $attributes) X-Ref |
No description |
removeAttribute($key) X-Ref |
param: string $key |
setInfo($info) X-Ref |
Sets an info message. param: string $info |
getInfo() X-Ref |
Returns info message. return: string|null The info text |
setExample($example) X-Ref |
Sets the example configuration for this node. param: string|array $example |
getExample() X-Ref |
Retrieves the example configuration for this node. return: string|array|null The example |
addEquivalentValue($originalValue, $equivalentValue) X-Ref |
Adds an equivalent value. param: mixed $originalValue param: mixed $equivalentValue |
setRequired($boolean) X-Ref |
Set this node as required. param: bool $boolean Required node |
setDeprecated($message) X-Ref |
Sets this node as deprecated. You can use %node% and %path% placeholders in your message to display, respectively, the node name and its complete path. param: string|null $message Deprecated message |
setAllowOverwrite($allow) X-Ref |
Sets if this node can be overridden. param: bool $allow |
setNormalizationClosures(array $closures) X-Ref |
Sets the closures used for normalization. param: \Closure[] $closures An array of Closures used for normalization |
setFinalValidationClosures(array $closures) X-Ref |
Sets the closures used for final validation. param: \Closure[] $closures An array of Closures used for final validation |
isRequired() X-Ref |
{@inheritdoc} |
isDeprecated() X-Ref |
Checks if this node is deprecated. return: bool |
getDeprecationMessage($node, $path) X-Ref |
Returns the deprecated message. param: string $node the configuration node name param: string $path the path of the node return: string |
getName() X-Ref |
{@inheritdoc} |
getPath() X-Ref |
{@inheritdoc} |
merge($leftSide, $rightSide) X-Ref |
{@inheritdoc} |
normalize($value) X-Ref |
{@inheritdoc} |
preNormalize($value) X-Ref |
Normalizes the value before any other normalization is applied. param: mixed $value return: mixed The normalized array value |
getParent() X-Ref |
Returns parent node for this node. return: NodeInterface|null |
finalize($value) X-Ref |
{@inheritdoc} |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |