Public Member Functions | |
getResource () | |
load () | |
save () |
Definition at line 35 of file Cache.php.
getResource | ( | ) |
Retrieve resource generic method
Reimplemented from Mage_Dataflow_Model_Convert_Adapter_Abstract.
Definition at line 38 of file Cache.php.
00039 { 00040 if (!$this->_resource) { 00041 $this->_resource = Zend_Cache::factory($this->getVar('frontend', 'Core'), $this->getVar('backend', 'File')); 00042 } 00043 return $this->_resource; 00044 }
load | ( | ) |
Implements Mage_Dataflow_Model_Convert_Adapter_Interface.
Definition at line 46 of file Cache.php.
00047 { 00048 $this->setData($this->getResource()->load($this->getVar('id'))); 00049 return $this; 00050 }
save | ( | ) |
Implements Mage_Dataflow_Model_Convert_Adapter_Interface.
Definition at line 52 of file Cache.php.
00053 { 00054 $this->getResource()->save($this->getData(), $this->getVar('id')); 00055 return $this; 00056 }