Tango Framework
API Documentation
Namespaces
Tango
Charts
Class hierarchy diagram
Reports
Errors
Markers
Deprecated
Back to top
Javascript is disabled; several features are only available if Javascript is enabled.
Packages
Tango
\
Tango
Classes, interfaces and traits
Config
¶
配置信息
注册配置文件的路径,在需要的时候再加载
« More »
DB
¶
MySQL 操作类
主要特性有: 智能化处理返回的数组 减少连接数 只在第一次做操作时开始连接 自动重连 简化常见操作
« More »
Debug
¶
Debug
« More »
Filter
¶
过滤输入参数,保障安全
这是一个使用范例: Filter::run("POST", array( "group_id" => "int", "topic_id" => "int", "post_id" => "int", "title" => "string", "content" => "longString", ));
« More »
HTML
¶
HTML 页面输出相关
« More »
Log
¶
日志
« More »
Page
¶
页面输出
负责 Web 访问时的页面输出(HTML/JSON/etc)
« More »
Signal
¶
对 pcntl_signal 的包装
« More »
Tango
¶
框架核心
« More »
TangoException
¶
异常
跟原始 Exception 的区别在于有“深度”的概念,以便更及时的判断错误内容 例如 MySQL 报 sql 语句为空,我们更想知道是哪里发送空 sql, 这个位置信息其实是在 trace 的第三行而非第一行
« More »
Util
¶
工具类函数
« More »