public function save() { parent::save(); if (!$this->getIsDeleted()) { if ($this->getTypeInstance()->getId()) { $this->getTypeInstance()->delete(); } $this->getTypeInstance()->setData($this->_getTypeInstanceData())->setVideoId($this->getId())->save(); } return $this; }
public function __construct($params = array()) { parent::__construct($params); $this->_db_table = 'Cms_Model_Db_Table_Application_Page_Block_Image'; return $this; }