Varien_Convert_Adapter_Zend_Cache Class Reference

Inheritance diagram for Varien_Convert_Adapter_Zend_Cache:

Varien_Convert_Adapter_Abstract Varien_Convert_Container_Abstract Varien_Convert_Adapter_Interface Varien_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 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     }


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

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