public function getElement($path)
    {
        $data = $this->getRawData($path);

        if (is_array($data)) {
            return false;
        } else {
            return $data;
        }
    }
public function getElement($path)
    {
        $data = $this->getRawData($path);

        if (is_array($data)) {
            return false;
        } else {
            return $data;
        }
    }
public function getElement ( $ path ) { $ data = $ this -> getRawData ( $ path ) ; if ( is_array ( $ data ) ) { return false ; } else { return $ data ; } }
Returns string value from a path given.

Path must point to leaf. Syntax for paths is same as for getRawData.

@param string $path A path to the element to get
@return mixed String with desired element, or false on failure
Returns string value from a path given .