Mage_Dataflow_Model_Convert_Adapter_Zend_Cache Class Reference

Inheritance diagram for Mage_Dataflow_Model_Convert_Adapter_Zend_Cache:

Mage_Dataflow_Model_Convert_Adapter_Abstract Mage_Dataflow_Model_Convert_Container_Abstract Mage_Dataflow_Model_Convert_Adapter_Interface Mage_Dataflow_Model_Convert_Container_Interface

List of all members.

Public Member Functions

 getResource ()
 load ()
 save ()


Detailed Description

Definition at line 35 of file Cache.php.


Member Function Documentation

getResource (  ) 

Retrieve resource generic method

Returns:
object

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:05 2009 for Magento by  doxygen 1.5.8