Commit Graph

104 Commits

Author SHA1 Message Date
thinkphp
bf7e974fae 去掉 COMMON_MODULE 常量 2016-06-02 10:51:10 +08:00
thinkphp
8deabb737a 改进App类 2016-06-01 21:36:51 +08:00
thinkphp
357d5c0e00 改进Request类 2016-06-01 21:19:07 +08:00
thinkphp
dd906ccaf2 增加module_init标签位用于扩展 2016-06-01 21:13:52 +08:00
thinkphp
3a154657e3 去掉 VIEW_PATH 常量定义 2016-06-01 18:47:37 +08:00
thinkphp
ac0cb9be42 去除 MODULE_NAME CONTROLLER_NAME ACTION_NAME 常量 2016-06-01 18:34:36 +08:00
thinkphp
12196d21b8 取消 CONTROLLER_LAYER MODEL_LAYER VIEW_LAYER VALIDATE_LAYER 常量 增加url_controller_layer 配置参数 2016-06-01 16:34:24 +08:00
thinkphp
dfa5143dad 增加url_param_type配置参数 用于配置操作方法的参数绑定方式 2016-06-01 14:13:21 +08:00
thinkphp
42fe2d3025 修正APP 2016-05-30 12:52:42 +08:00
thinkphp
c81bd184f5 修正 2016-05-29 23:14:29 +08:00
thinkphp
34731dd519 修正 2016-05-29 23:12:48 +08:00
thinkphp
d122bad9b6 增加http助手函数 改进App类 2016-05-29 23:07:24 +08:00
thinkphp
62debf4bc6 Controller类架构方法增加request参数 改进App类 2016-05-27 11:30:05 +08:00
thinkphp
46ce08b962 改进控制器方法的参数 支持使用Request对象 自动传入当前请求对象 2016-05-27 11:06:19 +08:00
thinkphp
2e44f2a154 改进禁用模块的判断 绑定的模块不受限制 2016-05-26 14:13:21 +08:00
thinkphp
4b743713a7 增加配置目录常量 CONF_PATH 用于设置配置文件目录 2016-05-25 23:00:31 +08:00
thinkphp
1a02bb7081 修正Request类的baseUrl方法 修正Hook类的警告错误 2016-05-25 10:29:25 +08:00
thinkphp
188e64abf6 取消APP_HOOK常量 默认开启插件机制 2016-05-24 22:08:34 +08:00
thinkphp
9d0424d34f 修正 2016-05-24 16:43:32 +08:00
thinkphp
a3fae7c6dc 改进Appe类 Request和Route类 2016-05-24 16:35:57 +08:00
thinkphp
6e11fbc025 App类的run方法参数为可选 2016-05-24 12:40:21 +08:00
thinkphp
ca1764aa00 优化App类 2016-05-23 16:15:24 +08:00
thinkphp
c50741bfa3 注释完善 2016-05-23 15:29:44 +08:00
thinkphp
988671e991 增加controller_auto_search配置参数用于设置URL解析支持自动搜索控制器 改进Route类的parseRoute方法 2016-05-22 11:50:29 +08:00
thinkphp
c0048e80ea 修正单元测试 2016-05-18 00:02:27 +08:00
thinkphp
1fab955a5f 暂时还原 2016-05-17 23:37:29 +08:00
thinkphp
223db98e1d 优化App类 2016-05-17 23:28:49 +08:00
thinkphp
28bf9b2726 优化App类 2016-05-17 23:20:09 +08:00
thinkphp
2072a395a6 App类module方法改为public 可以在闭包中直接调用 2016-05-17 16:08:09 +08:00
thinkphp
3544809b1d Route类改进 支持在匹配到路由后 使用after_behavior支持路由规则重定向 2016-05-17 16:01:47 +08:00
thinkphp
2b184efc47 修正App类 2016-05-17 13:15:28 +08:00
thinkphp
9d5728c67f 优化Response类的send方法 改进app_end的监听位置 2016-05-17 12:11:45 +08:00
thinkphp
de18afa9e6 助手函数改进 App类改进 2016-05-17 11:43:03 +08:00
thinkphp
92d999b484 response类增加create方法 改进think\response\redirect类 改进助手函数和traits\controller\Jump 2016-05-17 11:17:24 +08:00
thinkphp
9074c8a532 增加think\response\Xml 类和xml助手函数 2016-05-16 22:08:06 +08:00
thinkphp
c7c94258d0 改进Response类 增加think\response\View类 用于渲染模板响应输出 2016-05-16 18:10:46 +08:00
thinkphp
199825ec32 改进Response类 支持扩展不同的输出类型 改进Model类 不同的模型采用不同的查询对象实例 修正Request类一处错误 助手函数view改进 直接返回Response类对象实例 2016-05-16 14:18:47 +08:00
yunwuxin
aaa0fd7c9f 完善框架的异常处理 2016-05-13 19:06:08 +08:00
thinkphp
a4fb28a310 废除模块映射功能 改进route助手函数 Route类增加rule方法替代原register方法,原register方法更名为import方法用于导入路由配置 2016-05-11 23:00:59 +08:00
thinkphp
7f385217b9 改进response类 2016-05-11 14:04:56 +08:00
thinkphp
03b87a9eb0 改进App类 修正单元测试 2016-05-11 12:45:06 +08:00
thinkphp
79c381353d 注释改进 2016-05-11 12:34:04 +08:00
thinkphp
b50eeb5e7d App类改进run方法传入Request对象 便于构造自己的Request对象 2016-05-11 12:25:29 +08:00
thinkphp
861328c797 改进App类 2016-05-11 10:03:50 +08:00
thinkphp
8e1cd9c51f 改进Response类 改进traits\controller\Jump 添加response助手函数 2016-05-11 07:51:41 +08:00
thinkphp
0d497d4abb 改进Route类的路由匹配后的后置行为 允许单独执行输出 并废除 response_auto_output 配置参数 2016-05-10 16:08:10 +08:00
thinkphp
822d9a235b 改进Config类支持配置CONF_EXT常量 2016-05-10 14:39:47 +08:00
thinkphp
c305b11d1b 改进Request类 2016-05-09 23:19:41 +08:00
thinkphp
3b3751f3d5 改进App类 2016-05-07 18:20:04 +08:00
thinkphp
e71a864915 支持单独启用控制器类的类名后缀 CLASS_APPEND_SUFFIX 作为全局开关 2016-05-05 18:46:54 +08:00