public function get($strKey, $bolReturnPath=true) {
		$data = $this->arrData;
		foreach (explode('.', $strKey) as $p) {
			if (isset($data[$p]))
				$data = $data[$p];
			else
				return $bolReturnPath ? $this->returnKey($strKey) : false;
		}

		// if key was not resolved completely
		if ( is_array($data) )
			return $bolReturnPath ? $this->returnKey($strKey) : false;


		return (string) $data;
	}
public function get($strKey, $bolReturnPath=true) {
		$data = $this->arrData;
		foreach (explode('.', $strKey) as $p) {
			if (isset($data[$p]))
				$data = $data[$p];
			else
				return $bolReturnPath ? $this->returnKey($strKey) : false;
		}

		// if key was not resolved completely
		if ( is_array($data) )
			return $bolReturnPath ? $this->returnKey($strKey) : false;


		return (string) $data;
	}
public function get ( $ strKey , $ bolReturnPath = true ) { $ data = $ this -> arrData ; foreach ( explode ( '.' , $ strKey ) as $ p ) { if ( isset ( $ data [ $ p ] ) ) $ data = $ data [ $ p ] ; else return $ bolReturnPath ? $ this -> returnKey ( $ strKey ) : false ; } // if key was not resolved completely if ( is_array ( $ data ) ) return $ bolReturnPath ? $ this -> returnKey ( $ strKey ) : false ; return ( string ) $ data ; }
Gets a variable value

@param string $strKey The path for the language variable (e.g. "messages.error.single")
@param bool $bolReturnPath If set the function will return the variable path, instead of FALSE
@return string If the path could not be resolved, the path will be returned instead
Gets a variable value