书栈网 · BookStack 本次搜索耗时 0.011 秒,为您找到 56 个相关结果.
  • Client使用说明

    Client使用说明 类方法使用说明 1、getLanguage() 2、getBrowser() 3、getOs() 4、getUrlSource() 5、getUserAgent() 使用举例 例一、 Client使用说明 DoitPHP扩展类Client,用于获取客户端系统语言,浏览器信息,操作系统信息等。支持3G手机。注:本类...
  • HttpResponse使用说明

    HttpResponse使用说明 类方法使用说明 1、httpStatus($code, $text = null) 2、getMimeType($alias) 使用举例 例一、 例二、 HttpResponse使用说明 DoitPHP扩展类HttpResponse,用于HTTP请求时状态信息,获取文件mime类型。本类提供的类方法均支持...
  • 扩展模块PHPMailer使用说明

    扩展模块PHPMailer使用说明 模块安装 类方法使用说明 1、setSmtpConfig($option) 2、sendMail($to, $subject, $body) 举例说明 例一、 扩展模块PHPMailer使用说明 DoitPHP的PHPMailer Extension是调用第三方邮件操作程序PHPMailer来实现邮件发...
  • Language(多语言)使用说明

    Language(多语言)使用说明 类方法使用说明 1、getLanguagePath() 2、setLanguagePath($path) 3、loadLanguage($langName = 'zh_cn') 4、get($key, $langName = 'zh_cn') 使用举例 例一、加载语言名 Language(多语言)使用...
  • Response类方法

    Response类方法 一、类方法说明 1、charset($encode = 'UTF-8') 2、noCache() 3、expires($seconds = 1800) Response类方法 DoitPHP核心类Response用于返回服务器信息,其类方法均支持静态调用。其中常用的类方法(redirectUrl()、showMsg()...
  • Log应用

    Log应用 一、类方法使用说明 1、write($message, $level = 'Error', $logFileName = null) 2、show($logFileName = null) Log应用 DoitPHP所提供的Log类主要用于日志处理。当主配置文件中开启日记记录功能时(日记功能开启,Debug调试功能关闭),若程序运行...
  • Doit常用的类方法

    Doit常用的类方法 1、singleton($className) 2、loadFile($filePath) 3、getControllerName() 4、getActionName() 代码实例 Doit常用的类方法 Doit Class作为DoitPHP核心类,用于初始化程序运行及完成基本设置。它还提供几个常用的类方法,供整个项目...
  • 文件缓存使用说明

    文件缓存使用说明 类方法使用说明 1、set($key, $value, $expire = null) 2、get($key) 3、add($key, $value, $expire = null) 4、delete($key) 5、clear() 6、getInstance() 使用举例 例一、设置缓存数据 例二、获取缓存数据 ...
  • Tree(无限分类)使用说明

    Tree(无限分类)使用说明 1、setKeyName($nodeId = 'id', $nodeName = 'name', $nodeParentId = 'pid', $nodeChildName = 'child') 2、getTree($data, $parentId = 0) Tree(无限分类)使用说明 DoitPHP扩展类Tree...
  • Session使用说明

    Session使用说明 类方法使用说明 2、start() 3、set($key, $value = null) 4、get($key, $default = null) 5、delete() 6、clear() 7、destory() 8、close() 举例说明 例一、 Session使用说明 DoitPHP的扩展类sessi...