public function actionGold() { $this->_modelApplyDataFrg = $this->_getGlobalData('Model_ApplyDataFrg', 'object'); switch ($_GET['doaction']) { case 'accept': $this->_accept($this->_modelApplyDataFrg->getAudit('gold')); return; case 'reject': $this->_reject($this->_modelApplyDataFrg->getAudit('gold')); return; default: $this->_utilMsg(false, 1, Tools::url(CONTROL, 'GoldIndex')); } }