示例#1
0
 public function action_delete()
 {
     $id = $this->request->param('id');
     Widget_Manager::remove(array($id));
     Observer::notify('widget_after_delete', $id);
     $this->go_back();
 }