api_del() публичный Метод

api_del function.
public api_del ( ) : void
Результат void
Пример #1
0
}
include_once BG_PATH_FUNC . "init.func.php";
//初始化
$arr_set = array("base" => true, "header" => "Content-type: application/json; charset=utf-8", "db" => true, "type" => "ajax");
fn_init($arr_set);
include_once BG_PATH_CONTROL . "api/pm.class.php";
//载入短信控制器
$api_pm = new API_PM();
//初始化短信
switch ($GLOBALS["act_post"]) {
    case "send":
        $api_pm->api_send();
        //发送
        break;
    case "del":
        $api_pm->api_del();
        //删除
        break;
    case "status":
        $api_pm->api_status();
        //状态
        break;
    case "rev":
    case "revoke":
        $api_pm->api_revoke();
        //撤回
        break;
    default:
        switch ($GLOBALS["act_get"]) {
            case "check":
                $api_pm->api_check();