| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
The base node class.
| Author: | Johannes M. Schmitt <schmittjoh@gmail.com> |
| File Size: | 325 lines (8 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 |
| No description |
| getAttribute($key, $default = null) X-Ref |
| No description |
| hasAttribute($key) X-Ref |
| No description |
| getAttributes() X-Ref |
| No description |
| setAttributes(array $attributes) X-Ref |
| No description |
| removeAttribute($key) X-Ref |
| No description |
| setInfo($info) X-Ref |
| Sets an info message. param: string $info |
| getInfo() X-Ref |
| Returns info message. return: string 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 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 |
| 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} |
| 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: $value return: The normalized array value |
| getParent() X-Ref |
| Returns parent node for this node. return: NodeInterface|null |
| finalize($value) X-Ref |
| {@inheritdoc} |
| Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |