/** * table_tag_belong function. * * @access private * @return void */ private function table_tag_belong() { include_once BG_PATH_MODEL . "tagBelong.class.php"; //载入管理帐号模型 $_mdl_tagBelong = new MODEL_TAG_BELONG(); $_arr_belongRow = $_mdl_tagBelong->mdl_create_table(); if ($_arr_belongRow["alert"] != "y160105") { $this->obj_ajax->halt_alert($_arr_belongRow["alert"]); } $_arr_belongRow = $_mdl_tagBelong->mdl_create_index(); if ($_arr_belongRow["alert"] != "y160109") { $this->obj_ajax->halt_alert($_arr_belongRow["alert"]); } }
/** * table_tag_belong function. * * @access private * @return void */ private function table_tag_belong() { include_once BG_PATH_MODEL . "tagBelong.class.php"; //载入管理帐号模型 $_mdl_tagBelong = new MODEL_TAG_BELONG(); $_arr_tagBelongTable = $_mdl_tagBelong->mdl_create_table(); $_arr_tagBelongIndex = $_mdl_tagBelong->mdl_create_index(); $this->tplData["db_alert"]["tag_belong_table"] = array("alert" => $_arr_tagBelongTable["alert"], "status" => substr($_arr_tagBelongTable["alert"], 0, 1)); $this->tplData["db_alert"]["tag_belong_index"] = array("alert" => $_arr_tagBelongIndex["alert"], "status" => substr($_arr_tagBelongIndex["alert"], 0, 1)); }