Class: myStep


测试代码:
<?PHP
echo '本类为myController的扩展,无实例,详见类方法说明和具体应用';
echo '<pre>';
var_dump($mystep);
echo '</pre>';
运行结果:
本类为myController的扩展,无实例,详见类方法说明和具体应用
object(myStep)#21 (18) {
  ["setting"]=>
  &object(myConfig)#5 (6) {
    ["file":protected]=>
    string(38) "D:/website/mystep_fw/config/config.php"
    ["construction":protected]=>
    string(57) "D:/website/mystep_fw/config/construction/construction.php"
    ["type":protected]=>
    string(3) "php"
    ["parser":protected]=>
    array(0) {
    }
    ["setting":protected]=>
    object(stdClass)#15 (10) {
      ["gen"]=>
      object(stdClass)#6 (12) {
        ["language"]=>
        string(7) "default"
        ["charset"]=>
        string(5) "utf-8"
        ["timezone"]=>
        string(9) "Etc/GMT-8"
        ["cache_mode"]=>
        string(4) "File"
        ["cache_page"]=>
        bool(true)
        ["s_usr"]=>
        string(6) "mystep"
        ["s_pwd"]=>
        string(32) "0b34f23d5ae1271e7b63c81e4736c733"
        ["close"]=>
        string(0) ""
        ["static"]=>
        string(100) "jpg,jpeg,webp,png,gif,ico,css,js,json,html,htm,woff,woff2,eot,svg,ttf,map,zip,rar,7z,txt,mp3,mp4,flv"
        ["memory"]=>
        string(4) "512M"
        ["force_domain"]=>
        bool(false)
        ["debug"]=>
        bool(false)
      }
      ["web"]=>
      object(stdClass)#7 (10) {
        ["title"]=>
        string(29) "迈思框架 MyStep Framework"
        ["keyword"]=>
        string(21) "mystep,framework,free"
        ["description"]=>
        string(21) "开源PHP框架系统"
        ["gzip_level"]=>
        int(0)
        ["minify"]=>
        bool(false)
        ["etag"]=>
        string(13) "etag_20220101"
        ["css"]=>
        array(3) {
          [0]=>
          string(9) "bootstrap"
          [1]=>
          string(12) "font-awesome"
          [2]=>
          string(10) "glyphicons"
        }
        ["js"]=>
        array(3) {
          [0]=>
          string(6) "jquery"
          [1]=>
          string(12) "jquery.addon"
          [2]=>
          string(16) "bootstrap.bundle"
        }
        ["update"]=>
        string(14) "mysteps.com.cn"
        ["url"]=>
        string(21) "http://mysteps.com.cn"
      }
      ["upload"]=>
      object(stdClass)#8 (3) {
        ["path_mode"]=>
        string(4) "Y/m/"
        ["ban_ext"]=>
        string(19) "php,exe,com,bat,pif"
        ["free_dl"]=>
        bool(false)
      }
      ["template"]=>
      object(stdClass)#9 (3) {
        ["name"]=>
        string(4) "main"
        ["path"]=>
        string(8) "template"
        ["style"]=>
        string(0) ""
      }
      ["session"]=>
      object(stdClass)#10 (6) {
        ["expire"]=>
        int(30)
        ["name"]=>
        string(13) "MyStepSession"
        ["mode"]=>
        string(9) "sess_file"
        ["path"]=>
        string(44) "D:/website/mystep_fw/cache/session/20240620/"
        ["gc"]=>
        bool(true)
        ["trans_sid"]=>
        bool(false)
      }
      ["cookie"]=>
      object(stdClass)#11 (3) {
        ["prefix"]=>
        string(8) "ms_380b_"
        ["domain"]=>
        string(14) "mysteps.com.cn"
        ["path"]=>
        string(1) "/"
      }
      ["router"]=>
      object(stdClass)#12 (5) {
        ["mode"]=>
        string(7) "rewrite"
        ["default_app"]=>
        string(6) "Sample"
        ["delimiter_path"]=>
        string(1) "/"
        ["delimiter_para"]=>
        string(1) "&"
        ["url_fix"]=>
        string(0) ""
      }
      ["email"]=>
      object(stdClass)#13 (5) {
        ["mode"]=>
        string(4) "smtp"
        ["host"]=>
        string(19) "smtpx.microsoft.com"
        ["port"]=>
        int(25)
        ["user"]=>
        string(24) "bill.gates@microsoft.com"
        ["password"]=>
        string(8) "gotohell"
      }
      ["db"]=>
      object(stdClass)#14 (9) {
        ["auto"]=>
        bool(false)
        ["type"]=>
        string(5) "mysql"
        ["host"]=>
        string(14) "127.0.0.1:3306"
        ["user"]=>
        string(4) "root"
        ["password"]=>
        string(11) "cfnadb!@#$%"
        ["pconnect"]=>
        bool(false)
        ["charset"]=>
        string(5) "utf-8"
        ["name"]=>
        string(6) "mystep"
        ["pre"]=>
        string(3) "ms_"
      }
      ["info"]=>
      object(stdClass)#27 (2) {
        ["time"]=>
        int(1718851884)
        ["host"]=>
        string(14) "mysteps.com.cn"
      }
    }
    ["err_handler":protected]=>
    NULL
  }
  ["editor_plugin":protected]=>
  array(0) {
  }
  ["editor_btn":protected]=>
  array(0) {
  }
  ["mem_start":protected]=>
  int(1699216)
  ["time_start":protected]=>
  string(16) "1718851884.84504"
  ["time_css":protected]=>
  int(1667893314)
  ["time_js":protected]=>
  int(1670924337)
  ["functions":protected]=>
  array(0) {
  }
  ["func_tag":protected]=>
  array(0) {
  }
  ["func_api":protected]=>
  array(0) {
  }
  ["func_log":protected]=>
  array(3) {
    ["login"]=>
    array(2) {
      [0]=>
      *RECURSION*
      [1]=>
      string(8) "ms_login"
    }
    ["logout"]=>
    object(Closure)#25 (1) {
      ["this"]=>
      *RECURSION*
    }
    ["chg_psw"]=>
    object(Closure)#26 (2) {
      ["this"]=>
      *RECURSION*
      ["parameter"]=>
      array(3) {
        ["$id"]=>
        string(10) ""
        ["$psw_org"]=>
        string(10) ""
        ["$psw_new"]=>
        string(10) ""
      }
    }
  }
  ["plugins":protected]=>
  array(1) {
    [0]=>
    string(35) "D:/website/mystep_fw/plugin/badReq/"
  }
  ["language":protected]=>
  array(125) {
    ["plugin_badReq_info_name"]=>
    string(18) "恶意请求防御"
    ["plugin_badReq_info_intro"]=>
    string(18) "阻止恶意请求"
    ["plugin_badReq_info_copyright"]=>
    string(73) "版权所有 2019-2022 Windy2000"
    ["plugin_badReq_info_description"]=>
    string(66) "阻止有问题的试探连接,防止不必要的服务器开销"
    ["open"]=>
    string(6) "开启"
    ["close"]=>
    string(6) "关闭"
    ["etc"]=>
    string(6) "其他"
    ["sending"]=>
    string(18) "正在发送数据"
    ["unknown"]=>
    string(6) "未知"
    ["app_missing"]=>
    string(30) "未发现所调用的应用!"
    ["error_para"]=>
    string(57) "重要参数无法获得,请检查数据是否正常!"
    ["alert_leave"]=>
    string(54) "当前页面改变尚未提交,是否确认离开?"
    ["page_main"]=>
    string(6) "首页"
    ["page_update"]=>
    string(12) "最新更新"
    ["page_info"]=>
    string(12) "信息提示"
    ["page_info_refresh"]=>
    string(98) "本页面将在 X 秒后跳转,立即跳转"
    ["page_login"]=>
    string(12) "请您登录"
    ["page_logout"]=>
    string(6) "退出"
    ["page_error"]=>
    string(66) "网站出现错误,请联系管理员!"
    ["page_error_msg"]=>
    string(27) "目前尚无出错记录!"
    ["page_error_info"]=>
    string(34) "目前共有 %d 条出错记录!"
    ["page_error_module"]=>
    string(36) "所调用的功能模块不存在!"
    ["page_error_plugin"]=>
    string(69) "所调用的插件存在问题,请确认其是否为标准格式!"
    ["page_error_setting"]=>
    string(30) "应用不存在相关设置!"
    ["page_error_403"]=>
    string(15) "禁止访问!"
    ["page_error_404"]=>
    string(32) "调用文件(%s)不存在!"
    ["page_error_500"]=>
    string(24) "脚本执行时出错!"
    ["plugin_active"]=>
    string(6) "激活"
    ["plugin_deactive"]=>
    string(6) "停止"
    ["plugin_no_setting"]=>
    string(39) "当前插件没有任何设置选项!"
    ["plugin_no_info"]=>
    string(60) "当前插件未发现描述文件,请确认是否可用!"
    ["plugin_delete_done"]=>
    string(18) "插件已删除!"
    ["plugin_upload_done"]=>
    string(15) "上传成功!"
    ["plugin_upload_fail"]=>
    string(15) "上传失败!"
    ["plugin_upload_exists"]=>
    string(24) "同名文件已存在!"
    ["plugin_installed"]=>
    string(21) "插件安装成功!"
    ["plugin_uninstalled"]=>
    string(21) "插件卸载成功!"
    ["plugin_check_ok"]=>
    string(75) "插件检测通过,可以正常安装!"
    ["plugin_check_fail"]=>
    string(187) "由于未能完全通过检测,当前插件有可能无法正确安装,请根据检测信息提示修正相关问题后,点击“复查”按钮!!"
    ["login_username"]=>
    string(9) "用户名"
    ["login_password"]=>
    string(12) "密 码"
    ["login_expire"]=>
    string(12) "时 限"
    ["login_expire_unit"]=>
    string(3) "天"
    ["login_captcha"]=>
    string(9) "验证码"
    ["login_captcha_msg"]=>
    string(21) "请输入右边字符"
    ["login_refresh"]=>
    string(6) "刷新"
    ["login_ok"]=>
    string(15) "登录成功!"
    ["login_error_captcha"]=>
    string(15) "验证码错误"
    ["login_error"]=>
    string(45) "登录错误,错误的用户名或密码!"
    ["login_logout"]=>
    string(36) "您已经成功退出系统登录!"
    ["setting_done"]=>
    string(24) "配置文件已更新!"
    ["info_memory"]=>
    string(15) "内存占用:"
    ["info_compressmode"]=>
    string(15) "压缩模式:"
    ["info_compresslevel"]=>
    string(15) "压缩级别:"
    ["info_compressrate"]=>
    string(15) "压缩比率:"
    ["info_querycount"]=>
    string(15) "查询次数:"
    ["info_exectime"]=>
    string(15) "执行时间:"
    ["info_cacheuse"]=>
    string(15) "缓存模式:"
    ["link_confirm"]=>
    string(7) "确 定"
    ["link_reset"]=>
    string(7) "重 置"
    ["link_back"]=>
    string(7) "返 回"
    ["link_prev"]=>
    string(9) "上一页"
    ["link_next"]=>
    string(9) "下一页"
    ["checkform_lenth_limit1"]=>
    string(46) "请将字符数限制在 %1 个字符以内!"
    ["checkform_lenth_limit1_2"]=>
    string(25) "字符数应为 %1 个!"
    ["checkform_lenth_limit2"]=>
    string(37) "所添内容必须为 %1 个字符!"
    ["checkform_lenth_limit3"]=>
    string(40) "请将字符数限制在 %1 个字符!"
    ["checkform_noempty"]=>
    string(60) "您还有一些必添项目没有填充,请填写完全!"
    ["checkform_err"]=>
    string(27) "当前项目格式有误!"
    ["checkform_err_password"]=>
    string(36) "两次输入密码请保持一致!"
    ["checkform_err_email"]=>
    string(69) "错误的电子邮件格式,请输入合法的电子邮件地址!"
    ["checkform_err_url"]=>
    string(51) "错误的网址格式,请输入合法的网址!"
    ["checkform_err_digital"]=>
    string(36) "当前项目只可以填充数字!"
    ["checkform_err_number"]=>
    string(27) "请填写合法的实数!"
    ["checkform_err_alpha"]=>
    string(42) "当前项目只可以填写英文字母!"
    ["checkform_err_word"]=>
    string(45) "当前项目只可以填写单词和数字!"
    ["checkform_err_name"]=>
    string(51) "当前项目只可以填写英文字母和汉字!"
    ["checkform_err_date"]=>
    string(66) "请输入合法的日期格式,如:2000-1-1 或 2000/01/01 !"
    ["checkform_err_date2"]=>
    string(33) "您所输入的日期不合法!"
    ["checkform_err_time"]=>
    string(60) "请输入合法的时间格式,如:9:00 或 22:00:00 !"
    ["checkform_err_time2"]=>
    string(33) "您所输入的时间不合法!"
    ["checkform_err_tel"]=>
    string(82) "请输入合法的电话号码格式,如:010-12345678 或 010-87654321-999 !"
    ["checkform_item_string"]=>
    string(15) "任意字符串"
    ["checkform_item_email"]=>
    string(31) "电子邮件(name@host.com)"
    ["checkform_item_url"]=>
    string(35) "网址(http://www.host.com/...)"
    ["checkform_item_digital"]=>
    string(15) "数字(0-9)"
    ["checkform_item_number"]=>
    string(20) "实数(-123.456)"
    ["checkform_item_alpha"]=>
    string(15) "字母(a-z)"
    ["checkform_item_word"]=>
    string(21) "单词(Any Words)"
    ["checkform_item_name"]=>
    string(18) "汉字(中文)"
    ["checkform_item_date"]=>
    string(22) "日期(2000-01-01)"
    ["checkform_item_time"]=>
    string(20) "时间(00:00:00)"
    ["checkform_item_tel"]=>
    string(24) "电话(010-12345678)"
    ["checkform_item_fax"]=>
    string(24) "传真(010-12345678)"
    ["month_names_1"]=>
    string(6) "一月"
    ["month_names_2"]=>
    string(6) "二月"
    ["month_names_3"]=>
    string(6) "三月"
    ["month_names_4"]=>
    string(6) "四月"
    ["month_names_5"]=>
    string(6) "五月"
    ["month_names_6"]=>
    string(6) "六月"
    ["month_names_7"]=>
    string(6) "七月"
    ["month_names_8"]=>
    string(6) "八月"
    ["month_names_9"]=>
    string(6) "九月"
    ["month_names_10"]=>
    string(6) "十月"
    ["month_names_11"]=>
    string(9) "十一月"
    ["month_names_12"]=>
    string(9) "十二月"
    ["short_month_names_1"]=>
    string(3) "一"
    ["short_month_names_2"]=>
    string(3) "二"
    ["short_month_names_3"]=>
    string(3) "三"
    ["short_month_names_4"]=>
    string(3) "四"
    ["short_month_names_5"]=>
    string(3) "五"
    ["short_month_names_6"]=>
    string(3) "六"
    ["short_month_names_7"]=>
    string(3) "七"
    ["short_month_names_8"]=>
    string(3) "八"
    ["short_month_names_9"]=>
    string(3) "九"
    ["short_month_names_10"]=>
    string(3) "十"
    ["short_month_names_11"]=>
    string(6) "十一"
    ["short_month_names_12"]=>
    string(6) "十二"
    ["short_day_names_1"]=>
    string(3) "日"
    ["short_day_names_2"]=>
    string(3) "一"
    ["short_day_names_3"]=>
    string(3) "二"
    ["short_day_names_4"]=>
    string(3) "三"
    ["short_day_names_5"]=>
    string(3) "四"
    ["short_day_names_6"]=>
    string(3) "五"
    ["short_day_names_7"]=>
    string(3) "六"
  }
  ["page_content":protected]=>
  array(2) {
    ["start"]=>
    array(0) {
    }
    ["end"]=>
    array(0) {
    }
  }
  ["url":protected]=>
  array(0) {
  }
  ["css":protected]=>
  array(4) {
    ["9f04d5b58206aad1361ff760398b1b29"]=>
    string(45) "D:/website/mystep_fw/static/css/bootstrap.css"
    ["44d88ce6b1c170ca31249cac784bfcec"]=>
    string(48) "D:/website/mystep_fw/static/css/font-awesome.css"
    ["a9d5c16ade934f9eac727b6ff1725ffb"]=>
    string(46) "D:/website/mystep_fw/static/css/glyphicons.css"
    ["0e5d2907c51df2530dc5c09e649f8eb8"]=>
    string(42) "D:/website/mystep_fw/static/css/global.css"
  }
  ["js":protected]=>
  array(5) {
    ["7e26506326a182c4175e54acda7ef15e"]=>
    string(40) "D:/website/mystep_fw/static/js/jquery.js"
    ["a670a475609c53055310df3633e168af"]=>
    string(46) "D:/website/mystep_fw/static/js/jquery.addon.js"
    ["5ae532666f4d22a7a52ab1d29f6966a8"]=>
    string(50) "D:/website/mystep_fw/static/js/bootstrap.bundle.js"
    ["398f313b686f780bad17a2cf789a3a35"]=>
    string(40) "D:/website/mystep_fw/static/js/global.js"
    ["21e91aaedb2d8653b1fa05802ccd1d5f"]=>
    string(263) "
$.getScript("/index.php?ms_setting/Document", function(){
    $.getScript("/index.php?ms_language/Document/"+setting.language);
    if(typeof setting.debug != "undefined" && setting.debug == true) {
        window.onerror = reportError;
    }
});
        "
  }
  ["err_handler":protected]=>
  NULL
}