public function getValueByPath($path)
    {
        if (is_string($path)) {
            $path = $this->parsePath($path);
        }

        $child = $this->data;

        foreach ($path as $part) {
            if (isset($child[$part])) {
                $child = $child[$part];
            } else {
                return null;
            }
        }

        return $child;
    }
public function getValueByPath($path)
    {
        if (is_string($path)) {
            $path = $this->parsePath($path);
        }

        $child = $this->data;

        foreach ($path as $part) {
            if (isset($child[$part])) {
                $child = $child[$part];
            } else {
                return null;
            }
        }

        return $child;
    }
public function getValueByPath ( $ path ) { if ( is_string ( $ path ) ) { $ path = $ this -> parsePath ( $ path ) ; } $ child = $ this -> data ; foreach ( $ path as $ part ) { if ( isset ( $ child [ $ part ] ) ) { $ child = $ child [ $ part ] ; } else { return null ; } } return $ child ; }
Find a value by path within the DataSet instance.

@see $currentPath
@param string|array $path Path in internal or human format.
@return string|int|array|null The found value. Returns null if the value cannot be found.
Find a value by path within the DataSet instance .