Public Member Functions | |
getResource () | |
load () | |
save () |
Definition at line 35 of file Cache.php.
getResource | ( | ) |
Retrieve resource generic method
Reimplemented from Varien_Convert_Adapter_Abstract.
Definition at line 37 of file Cache.php.
00038 { 00039 if (!$this->_resource) { 00040 $this->_resource = Zend_Cache::factory($this->getVar('frontend', 'Core'), $this->getVar('backend', 'File')); 00041 } 00042 return $this->_resource; 00043 }
load | ( | ) |
Implements Varien_Convert_Adapter_Interface.
Definition at line 45 of file Cache.php.
00046 { 00047 $this->setData($this->getResource()->load($this->getVar('id'))); 00048 return $this; 00049 }
save | ( | ) |
Implements Varien_Convert_Adapter_Interface.
Definition at line 51 of file Cache.php.
00052 { 00053 $this->getResource()->save($this->getData(), $this->getVar('id')); 00054 return $this; 00055 }