mdl_create_view() public method

创建视图 mdl_create_view function.
public mdl_create_view ( ) : void
return void
Ejemplo n.º 1
0
 private function view_user()
 {
     include_once BG_PATH_MODEL . "user.class.php";
     //载入管理帐号模型
     $_mdl_user = new MODEL_USER();
     $_arr_userView = $_mdl_user->mdl_create_view();
     if ($_arr_userView["alert"] != "y010108") {
         $this->obj_api->halt_re($_arr_userView);
     }
 }
Ejemplo n.º 2
0
 private function view_user()
 {
     include_once BG_PATH_MODEL . "user.class.php";
     //载入管理帐号模型
     $_mdl_user = new MODEL_USER();
     $_arr_userView = $_mdl_user->mdl_create_view();
     $this->tplData["db_alert"]["user_view"] = array("alert" => $_arr_userView["alert"], "status" => substr($_arr_userView["alert"], 0, 1));
 }