/** * Load metadata into cache. */ protected function _getMetadata() { if (!isset($this->_md)) { try { $this->_md = json_decode($this->_vfs->read($this->_vfspath, self::METADATA_NAME), true); } catch (Horde_Vfs_Exception $e) { } if (!is_array($this->_md)) { $this->_md = array(); } } }