public function getValue($name)
    {
        $child = & $this->data;

        foreach ($this->currentPath as $part) {
            if (isset($child[$part])) {
                $child = & $child[$part];
            } else {
                return null;
            }
        }

        return isset($child[$name]) ? $child[$name] : null;
    }
public function getValue($name)
    {
        $child = & $this->data;

        foreach ($this->currentPath as $part) {
            if (isset($child[$part])) {
                $child = & $child[$part];
            } else {
                return null;
            }
        }

        return isset($child[$name]) ? $child[$name] : null;
    }
public function getValue ( $ name ) { $ child = & $ this -> data ; foreach ( $ this -> currentPath as $ part ) { if ( isset ( $ child [ $ part ] ) ) { $ child = & $ child [ $ part ] ; } else { return null ; } } return isset ( $ child [ $ name ] ) ? $ child [ $ name ] : null ; }
Get a value by name from the current level.

@param string|int $name The name of the value to retrieve.
@return string|int|array|null The found value. Returns null if the value cannot be found.
Get a value by name from the current level .