public function getRawData($path)
    {
        if ($path === '/') {
            return $this->parsedData;
        }

        $pathElements = explode('/', trim($path, '/'));
        $data = $this->parsedData;

        foreach ($pathElements as $key) {
            if (isset($data[$key])) {
                $data = $data[$key];
            } else {
                return false;
            }
        }

        return $data;
    }
public function getRawData($path)
    {
        if ($path === '/') {
            return $this->parsedData;
        }

        $pathElements = explode('/', trim($path, '/'));
        $data = $this->parsedData;

        foreach ($pathElements as $key) {
            if (isset($data[$key])) {
                $data = $data[$key];
            } else {
                return false;
            }
        }

        return $data;
    }
public function getRawData ( $ path ) { if ( $ path === '/' ) { return $ this -> parsedData ; } $ pathElements = explode ( '/' , trim ( $ path , '/' ) ) ; $ data = $ this -> parsedData ; foreach ( $ pathElements as $ key ) { if ( isset ( $ data [ $ key ] ) ) { $ data = $ data [ $ key ] ; } else { return false ; } } return $ data ; }
Returns multi-dimensional array representing desired node and it's children,
or a string value if the path points to a leaf.

Syntax for paths is very simple. It's a group of array indices joined
with a slash. It tries to emulate XPath query syntax to some extent.
Examples:

plurals/pluralRules
dates/calendars/calendar[@type="gregorian"]

Please see the documentation for CldrParser for details about parsed data
structure.

@param string $path A path to the node to get
@return mixed Array or string of matching data, or false on failure
@see CldrParser
Returns multi - dimensional array representing desired node and it s children or a string value if the path points to a leaf .