CONTROL_UPGRADE::ctl_ext PHP Метод

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

public ctl_ext ( )
    function ctl_ext()
    {
        $this->obj_tpl->tplDisplay("upgrade_ext.tpl", $this->tplData);
        return array("alert" => "y030403");
    }

Usage Example

Пример #1
0
    case "dbtable":
        $arr_upgradeRow = $ctl_upgrade->ctl_dbtable();
        if ($arr_upgradeRow["alert"] != "y030404") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_upgradeRow["alert"]);
            exit;
        }
        break;
    case "base":
    case "upload":
    case "sso":
        $arr_upgradeRow = $ctl_upgrade->ctl_form();
        if ($arr_upgradeRow["alert"] != "y030405") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_upgradeRow["alert"]);
            exit;
        }
        break;
    case "over":
        $arr_upgradeRow = $ctl_upgrade->ctl_over();
        if ($arr_upgradeRow["alert"] != "y030405") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_upgradeRow["alert"]);
            exit;
        }
        break;
    default:
        $arr_upgradeRow = $ctl_upgrade->ctl_ext();
        if ($arr_upgradeRow["alert"] != "y030403") {
            header("Location: " . BG_URL_INSTALL . "ctl.php?mod=alert&act_get=show&alert=" . $arr_upgradeRow["alert"]);
            exit;
        }
        break;
}