Commit Graph

2359 Commits

Author SHA1 Message Date
thinkphp
f75d1c5d80 修正 模板引擎驱动类的config方法 2016-09-18 11:39:37 +08:00
ThinkPHP
2aa3adb2a8 Merge pull request #290 from youyoushanyu/master
解决Model类db()方法在$this->field=true时重复被调用的而引发的问题
2016-09-17 20:36:26 +08:00
thinkphp
e562cb4080 改进model类save方法对字段的判断 2016-09-17 11:27:35 +08:00
thinkphp
9032818794 修正一个查询条件多个条件的时候的参数绑定BUG 2016-09-17 00:05:26 +08:00
shanyu
9a0df4ef04 修复在配置Model属性field=true情况下,通过__call调用db()引发的BUG 2016-09-16 16:19:40 +08:00
thinkphp
4115408538 注释调整 2016-09-15 12:58:29 +08:00
thinkphp
8974a5d120 改进View类的assign方法 去掉多余代码 2016-09-14 17:30:16 +08:00
thinkphp
e37f5aee16 操作方法的参数按照URL顺序读取的时候,参数名只能用pathinfo变量 不支持get或者post变量 2016-09-14 16:16:44 +08:00
thinkphp
abe0ea0783 Session类增加pull方法用于获取数据并删除 2016-09-14 16:05:43 +08:00
thinkphp
1bab8ba6a0 Cache类增加pull方法用于获取缓存数据并删除 2016-09-14 16:05:01 +08:00
thinkphp
7dd8e54476 redirect response类 with方法修正 2016-09-14 15:42:06 +08:00
thinkphp
7a5c56ff37 改进Builder类 2016-09-14 12:36:22 +08:00
thinkphp
6bc34d95ac 改进查询条件的参数绑定 2016-09-14 11:57:09 +08:00
thinkphp
b14c1a9dc2 Merge模型save方法和model类参数和返回值统一 2016-09-13 22:54:22 +08:00
thinkphp
3e79ff0c28 软删除restore方法支持传入条件 2016-09-13 22:02:26 +08:00
thinkphp
9c227e9e8e 改进Route类的路由标识存储 修正路由缓存后的URL生成 2016-09-13 18:54:03 +08:00
thinkphp
79bdc2fd9a 修正EXP查询的参数绑定 2016-09-13 17:17:01 +08:00
thinkphp
3d868bc2d5 修正查询条件为NULL的时候参数绑定的错误 2016-09-13 16:33:31 +08:00
thinkphp
888480ca0a 还原Relation 2016-09-13 15:53:08 +08:00
thinkphp
c676ff56cc 改进条件查询的参数绑定 支持 单个字段的多个条件查询 2016-09-13 15:38:29 +08:00
thinkphp
942aa65c2d 改进Relation类增加getModel和getParentModel方法 2016-09-13 15:20:16 +08:00
thinkphp
e3a3acaed6 改进查询条件的参数绑定 2016-09-13 14:53:33 +08:00
thinkphp
f1c9a3bb88 改进查询条件的参数绑定 避免冲突 2016-09-13 13:20:44 +08:00
thinkphp
9a5fe91099 改进 2016-09-13 12:39:22 +08:00
thinkphp
633d0041c6 改进查询条件的自动参数绑定 2016-09-13 12:26:22 +08:00
thinkphp
6e96a6aac6 Merge branch 'master' of https://github.com/top-think/framework 2016-09-13 11:02:53 +08:00
thinkphp
acbd5b97fe 改进软删除的destory方法 2016-09-13 11:02:05 +08:00
thinkphp
ab1fc037a5 改进Model类destroy方法 2016-09-12 22:28:25 +08:00
thinkphp
3a983aa3e1 Request类增加bind方法用于动态绑定属性 Route类的模型绑定直接绑定到Request实例对象的属性 便于获取 2016-09-12 15:47:52 +08:00
thinkphp
fc0a761165 独立日志类型 依然按照日保存 方便查找日志 2016-09-12 13:55:14 +08:00
thinkphp
faa3e8aabc connection类quote方法默认读取主库 2016-09-12 13:50:54 +08:00
WeakSun
f4df441b11 Hook类代码改进
1.改进get方法:防止数组索引未定义的异常;
2.改进listen方法:$once=true的时候有可能没有日志记录;返回最后一条执行结果;
3.改进import和add方法:_overlay配置由add方法处理;允许callable形式添加;
4.修改exec方法:日志记录由exec实现,减少两次判断。
2016-09-11 17:24:21 +08:00
thinkphp
93e0eb46d3 Validate类优化 2016-09-11 14:25:13 +08:00
thinkphp
2e930bd2a5 Connection类quote方法增加master参数 2016-09-11 12:47:51 +08:00
thinkphp
739f8bef18 改进关联查询预载入 支持闭包使用条件之外的连贯操作 2016-09-11 12:20:15 +08:00
thinkphp
b7f38230b1 优化Builder类 2016-09-10 22:27:39 +08:00
thinkphp
3176afcc25 优化Builder类的parseWhere方法 2016-09-10 22:16:23 +08:00
thinkphp
4c68ded446 修正sqlsrv驱动 2016-09-10 21:39:21 +08:00
thinkphp
b1742361d0 优化Route类的模型绑定 2016-09-10 10:17:11 +08:00
thinkphp
7a4df4c5f3 Merge branch 'master' of https://github.com/top-think/framework 2016-09-09 23:08:03 +08:00
thinkphp
e7f8db994a 路由规则的模型绑定支持简化名称 2016-09-09 23:07:25 +08:00
ThinkPHP
c546a50a0c Merge pull request #280 from sanyc/patch-6
解决 php7 数组指针问题
2016-09-09 22:50:27 +08:00
thinkphp
e63a162bc7 改进Route 2016-09-09 20:40:39 +08:00
thinkphp
766c410fe4 改进Route类 2016-09-09 20:37:00 +08:00
thinkphp
8b55500f91 Route类增加bind_model参数用于绑定模型 2016-09-09 20:24:42 +08:00
thinkphp
32484b3bd7 改进App类bindParams方法 2016-09-09 19:43:28 +08:00
过客
b7de2f0db4 解决 php7 数组指针问题
数组存在key()方法无法正确获得预定值
2016-09-09 18:54:00 +08:00
thinkphp
68d1240fea 改进Route类 2016-09-09 18:39:48 +08:00
thinkphp
f52a7bf978 优化Route类的变量传值 统一使用Request类的param方法获取 2016-09-09 18:25:16 +08:00
thinkphp
96f5428a5e 改进对象实例传入后的参数unset 2016-09-09 17:53:47 +08:00