Mage_Core_Model_Design Class Reference

Inheritance diagram for Mage_Core_Model_Design:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Public Member Functions

 validate ()
 loadChange ($storeId, $date=null)

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 28 of file Design.php.


Member Function Documentation

_construct (  )  [protected]

Enter description here...

Reimplemented from Varien_Object.

Definition at line 30 of file Design.php.

00031     {
00032         $this->_init('core/design');
00033     }

loadChange ( storeId,
date = null 
)

Definition at line 41 of file Design.php.

00042     {
00043         $result = $this->getResource()
00044             ->loadChange($storeId, $date);
00045 
00046         if (count($result)){
00047             if (!empty($result['design'])) {
00048                 $tmp = explode('/', $result['design']);
00049                 $result['package'] = $tmp[0];
00050                 $result['theme'] = $tmp[1];
00051             }
00052 
00053             $this->setData($result);
00054         }
00055 
00056         return $this;
00057     }

validate (  ) 

Definition at line 35 of file Design.php.

00036     {
00037         $this->getResource()->validate($this);
00038         return $this;
00039     }


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

Generated on Sat Jul 4 17:23:56 2009 for Magento by  doxygen 1.5.8