*/ class Mage_Core_Model_Design extends Mage_Core_Model_Abstract { protected function _construct() { $this->_init('core/design'); } public function validate() { $this->getResource()->validate($this); return $this; } public function loadChange($storeId, $date = null) { $result = $this->getResource() ->loadChange($storeId, $date); if (!empty($result)) { if (!empty($result['design'])) { $tmp = explode('/', $result['design']); $result['package'] = $tmp[0]; $result['theme'] = $tmp[1]; } $this->setData($result); } return $this; } }