Horde_Kolab_Storage_Cache_Data::_checkInit PHP Method

_checkInit() protected method

Verifies that the data cache is initialized.
protected _checkInit ( string $key )
$key string The key in the cached data array.
    protected function _checkInit($key)
    {
        if (!$this->isInitialized()) {
            throw new Horde_Kolab_Storage_Exception(sprintf('Missing cache data (Key: %s). Synchronize first!', $key));
        }
    }