API_INSTALL::api_dbtable PHP Метод

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

public api_dbtable ( )
    function api_dbtable()
    {
        $this->check_db();
        $this->table_admin();
        $this->table_user();
        $this->table_app();
        $this->table_belong();
        $this->table_log();
        $this->view_user();
        $_arr_return = array("alert" => "y030108");
        $this->obj_api->halt_re($_arr_return);
    }

Usage Example

Пример #1
0
}
include_once BG_PATH_INC . "common_global.inc.php";
//载入全局通用
include_once BG_PATH_CLASS . "mysqli.class.php";
//载入数据库类
include_once BG_PATH_CLASS . "base.class.php";
//载入基类
header("Content-type: application/json");
$GLOBALS["obj_base"] = new CLASS_BASE();
//初始化基类
include_once BG_PATH_CONTROL . "api/install.class.php";
//载入商家控制器
$api_install = new API_INSTALL();
//初始化商家
switch ($GLOBALS["act_post"]) {
    case "dbconfig":
        $api_install->api_dbconfig();
        break;
    case "base":
        $api_install->api_base();
        break;
    case "dbtable":
        $api_install->api_dbtable();
        break;
    case "admin":
        $api_install->api_admin();
        break;
    case "over":
        $api_install->api_over();
        break;
}