CONTROL_INSTALL::ctl_dbtable PHP Метод

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

install_2 function.
public ctl_dbtable ( ) : void
Результат void
    function ctl_dbtable()
    {
        if ($this->errCount > 0) {
            return array("alert" => "x030413");
        }
        if (!$this->check_db()) {
            return array("alert" => "x030404");
        }
        $this->table_admin();
        $this->table_user();
        $this->table_app();
        $this->table_belong();
        $this->table_log();
        $this->table_session();
        $this->table_verify();
        $this->table_pm();
        $this->view_user();
        $this->obj_tpl->tplDisplay("install_dbtable.tpl", $this->tplData);
        return array("alert" => "y030404");
    }

Usage Example

Пример #1
0
 case "reg":
     $arr_installRow = $ctl_install->ctl_reg();
     if ($arr_installRow["alert"] != "y030404") {
         header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
         exit;
     }
     break;
 case "base":
     $arr_installRow = $ctl_install->ctl_base();
     if ($arr_installRow["alert"] != "y030404") {
         header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
         exit;
     }
     break;
 case "dbtable":
     $arr_installRow = $ctl_install->ctl_dbtable();
     if ($arr_installRow["alert"] != "y030404") {
         header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
         exit;
     }
     break;
 case "over":
     $arr_installRow = $ctl_install->ctl_over();
     if ($arr_installRow["alert"] != "y030404") {
         header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_installRow["alert"]);
         exit;
     }
     break;
 case "dbconfig":
     $arr_installRow = $ctl_install->ctl_dbconfig();
     if ($arr_installRow["alert"] != "y030403") {