[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/config/Symfony/Component/Config/Definition/ -> BaseNode.php (summary)

The base node class.

Author: Johannes M. Schmitt <schmittjoh@gmail.com>
File Size: 351 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 23 functions

  __construct()
  setAttribute()
  getAttribute()
  hasAttribute()
  getAttributes()
  setAttributes()
  removeAttribute()
  setInfo()
  getInfo()
  setExample()
  getExample()
  addEquivalentValue()
  setRequired()
  setAllowOverwrite()
  setNormalizationClosures()
  setFinalValidationClosures()
  isRequired()
  getName()
  getPath()
  merge()
  normalize()
  preNormalize()
  finalize()

Functions
Functions that are not part of a class:

__construct($name, NodeInterface $parent = null)   X-Ref
Constructor.

param: string        $name   The name of the node
param: NodeInterface $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
Checks if this node is required.

return: bool

getName()   X-Ref
Returns the name of this node.

return: string The Node's name.

getPath()   X-Ref
Retrieves the path of this node.

return: string The Node's path

merge($leftSide, $rightSide)   X-Ref
Merges two values together.

param: mixed $leftSide
param: mixed $rightSide
return: mixed The merged value

normalize($value)   X-Ref
Normalizes a value, applying all normalization closures.

param: mixed $value Value to normalize.
return: mixed The normalized value.

preNormalize($value)   X-Ref
Normalizes the value before any other normalization is applied.

param: $value
return: $value The normalized array value

finalize($value)   X-Ref
Finalizes a value, applying all finalization closures.

param: mixed $value The value to finalize
return: mixed The finalized value



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1