action/trigger 삭제 메소드 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4864 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-11-15 06:47:07 +00:00
parent cc2af31f68
commit b50f047c87

View file

@ -27,6 +27,18 @@
return $output;
}
/**
* @brief action forward 삭제
**/
function deleteActionForward($module, $type, $act) {
$args->module = $module;
$args->type = $type;
$args->act = $act;
$output = executeQuery('module.deleteActionFoward', $args);
return $output;
}
/**
* @brief module trigger 추가
* module trigger는 trigger 대상이 등록된 대상을 호출하는 방법이다.
@ -47,6 +59,25 @@
return $output;
}
/**
* @brief module trigger 삭제
*
**/
function deleteTrigger($trigger_name, $module, $type, $called_method, $called_position) {
$args->trigger_name = $trigger_name;
$args->module = $module;
$args->type = $type;
$args->called_method = $called_method;
$args->called_position = $called_position;
$output = executeQuery('module.deleteTrigger', $args);
// 트리거 캐시 삭제
FileHandler::removeFilesInDir('./files/cache/triggers');
return $output;
}
/**
* @brief 특정 모듈의 설정 입력
* board, member등 특정 모듈의 global config 관리용