Horde_Kolab_Storage_Cache_Data::_load PHP Method

_load() protected method

Retrieves the cached list data.
protected _load ( ) : mixed
return mixed The data of the object.
    protected function _load()
    {
        if ($this->_data === false) {
            $this->_data = unserialize($this->_cache->loadData($this->getDataId()));
            if (!is_array($this->_data) || !isset($this->_data[self::SYNC]) || !isset($this->_data[self::VERSION]) || $this->_data[self::VERSION] != self::FORMAT_VERSION) {
                $this->_data = array();
            }
        }
    }