function procStore_searchAdminDel()
	{
		$oModuleController = &getController('module');
		$oModuleController->deleteModuleExtend('integration_search','','');
		$this->setRedirectUrl(getNotencodedUrl("","module","admin","act","dispStore_searchAdminView"));
		if($oModuleController)$this->setMessage("success_deleted");
	}
Пример #2
0
 /**
  * @brief delete module instance.
  */
 function procEpayAdminDeleteModInst()
 {
     $module_srl = Context::get('module_srl');
     // 원본을 구해온다
     $oModuleController =& getController('module');
     $output = $oModuleController->deleteModule($module_srl);
     if (!$output->toBool()) {
         return $output;
     }
     $this->add('module', 'epay');
     $this->add('page', Context::get('page'));
     $this->setMessage('success_deleted');
     $this->setRedirectUrl(getNotencodedUrl('', 'module', Context::get('module'), 'act', 'dispEpayAdminEpayList'));
 }
 /**
  * @brief delete extra item
  **/
 function procNproductAdminDeleteItemExtra()
 {
     $oNproductModel =& getModel('nproduct');
     $module_srl = Context::get('module_srl');
     //DB 삭제부분
     $args->extra_srl = Context::get('extra_srl');
     $output = executeQuery('nproduct.deleteItemExtra', $args);
     if (!$output->toBool()) {
         return $output;
     }
     //dynamic ruleset 재생성
     $extra_vars = $oNproductModel->getItemExtraFormList($module_srl);
     $this->_createInsertItemRuleset($extra_vars);
     $this->setMessage('success_deleted');
     if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
         $this->setRedirectUrl(getNotencodedUrl("", "module", "admin", "act", "dispNproductAdminItemExtraSetup", "module_srl", $module_srl));
     }
 }