Exemple #1
0
 private function _delMain()
 {
     $this->_modelMenu->execute("delete from {$this->_modelMenu->tName()} where Id={$_GET['Id']}");
     $this->_modelMenu->execute("delete from {$this->_modelMenu->tName()} where parent_id={$_GET['Id']}");
     $this->_utilMsg->showMsg('删除成功', 1);
 }
Exemple #2
0
 private function _delMain()
 {
     $this->_modelMenu->execute("delete from {$this->_modelMenu->tName()} where Id={$_GET['Id']}");
     $this->_modelMenu->execute("delete from {$this->_modelMenu->tName()} where parent_id={$_GET['Id']}");
     $this->_utilMsg->showMsg(Tools::getLang('DEL_SUCESS', 'Common'), 1);
 }