예제 #1
0
파일: Widget.php 프로젝트: Sywooch/forums
 protected function _postDelete()
 {
     if (!$this->getExtraData(self::EXTRA_DATA_SKIP_REBUILD)) {
         $this->_getWidgetModel()->buildCache();
     }
     WidgetFramework_Core::clearCachedWidgetById($this->get('widget_id'));
 }
예제 #2
0
 protected function _postDelete()
 {
     $this->_deleteMasterPhrase($this->_getWidgetModel()->getWidgetTitlePhrase($this->get('widget_id')));
     if ($this->_isTemplateWidget($this->get('class'))) {
         $this->_getWidgetRendererTemplateModel()->dwPostDelete($this->getMergedData(), $this->getWidgetOptions());
     }
     $this->_rebuildGlobalCache();
     WidgetFramework_Core::clearCachedWidgetById($this->get('widget_id'));
     $this->_isDelete = true;
 }