Commit Graph

2621 Commits

Author SHA1 Message Date
thinkphp
efd34d53fd 改进Hook类exec方法支持指定类的方法执行 包括静态方法 2016-12-18 09:44:26 +08:00
thinkphp
48a1cf0699 Merge branch 'master' of https://github.com/top-think/framework 2016-12-18 08:21:59 +08:00
thinkphp
e2ab86b962 改进Hook类 改进Model类时间戳写入 2016-12-18 08:21:35 +08:00
thinkphp
4d21d3c953 改进session驱动的read方法返回值类型 2016-12-16 18:04:11 +08:00
thinkphp
1aa60c7d71 修正socket日志驱动 2016-12-16 16:03:04 +08:00
thinkphp
3cfd718c38 改进命令行模式下 日志写入出错的问题 2016-12-16 14:34:44 +08:00
thinkphp
47a0cf5b06 Merge branch 'master' of https://github.com/top-think/framework 2016-12-15 12:30:32 +08:00
thinkphp
ce590c2e53 改进Request类的accept方法 2016-12-15 12:29:51 +08:00
thinkphp
0fe0edb80e 回退一个App类的更赶 2016-12-14 21:57:58 +08:00
thinkphp
d96c39cb1c 验证类的验证方法支持第五个title参数传入 2016-12-14 16:57:15 +08:00
thinkphp
08c3be7c4c 改进追加关联模型属性的判断 2016-12-14 15:08:07 +08:00
thinkphp
c0b8580738 Model类增加appendRelationAttr方法用于追加关联模型的属性到当前模型 2016-12-14 15:03:00 +08:00
thinkphp
5ba052d94f 改进 2016-12-14 14:23:20 +08:00
thinkphp
78e5980451 一对一关联定义支持绑定关联模型属性到当前模型 在定义关联的时候使用bind方法 2016-12-14 13:56:19 +08:00
thinkphp
59abc17750 改进Model类db方法 2016-12-13 17:42:54 +08:00
thinkphp
5c1c1d5f60 修正HasManyThrough关联 2016-12-13 16:50:28 +08:00
thinkphp
381f90a735 confirm和deifferent验证规则默认提示调整 支持传入验证比较字段名,例如:
confirm|repassword,确认密码
2016-12-13 15:25:26 +08:00
thinkphp
e36987fc5d Cookie类增加forever方法用于永久缓存 2016-12-13 14:48:01 +08:00
thinkphp
965e14eb76 改进Validate类的闭包规则错误 2016-12-13 14:47:43 +08:00
thinkphp
f77a48930a 改进Validate的getRuleMsg方法 2016-12-13 14:29:24 +08:00
thinkphp
7775dd9255 修正App类 2016-12-13 14:21:17 +08:00
thinkphp
ebf2431a50 改进App类控制器没有返回值返回204状态码 2016-12-13 11:50:16 +08:00
thinkphp
082b3bea81 改进一对一关联预载入查询 支持使用IN方式 一对一关联类增加setEagerlyType方法用于设置预载入查询方式 默认为JOIN方式,setEagerlyType(1) 使用IN方式
Loader类的parseName方法增加第三个参数 用于驼峰法转换是否首字母大写
2016-12-13 11:43:26 +08:00
thinkphp
8e8355e2d8 改进验证类的错误信息定义 2016-12-12 16:54:11 +08:00
thinkphp
c04bb1cd1e 规范预载入方法的调用 如果调用user_profile 预载入会自动对应 userProfile关联方法 2016-12-11 17:36:35 +08:00
thinkphp
63a3936eb9 改进Query类table方法 2016-12-09 19:18:35 +08:00
thinkphp
b81a6c5d38 改进Session类的boot方法 2016-12-09 19:01:44 +08:00
thinkphp
9e0185411e 改进Query类的trigger方法参数 2016-12-09 18:31:05 +08:00
thinkphp
936e4b3b04 改进Builder类的parseDateTime方法 2016-12-09 18:12:27 +08:00
thinkphp
846553ec13 增加Query对象的before_find before_select after_insert after_update after_delete 事件注册 2016-12-09 17:52:09 +08:00
thinkphp
b7fb12c2fb 修正File日志驱动 2016-12-09 15:33:30 +08:00
thinkphp
a223dd5aff 改进View类的root获取 2016-12-09 15:29:22 +08:00
thinkphp
08f648966c 修正View类的root解析 2016-12-09 15:11:18 +08:00
thinkphp
308a0b9ca8 MorphMany关联增加save和saveall方法 2016-12-09 15:01:34 +08:00
thinkphp
c5dbbb45da Relation类方法调整 2016-12-09 14:52:37 +08:00
thinkphp
d49b986bb8 修正Relation一处use 2016-12-09 14:43:04 +08:00
thinkphp
74315bb894 HasOne关联支持使用hasWhere方法 2016-12-09 11:25:24 +08:00
thinkphp
0dab46114c 修正HasMany关联的has和hasWhere方法 2016-12-09 11:18:27 +08:00
thinkphp
da4160c2f8 改进Validate类的静态调用 2016-12-09 07:25:20 +08:00
thinkphp
26e3879559 改进App类的initCommon的返回值 2016-12-08 22:14:06 +08:00
thinkphp
57d78c4dbd 继续修正 2016-12-08 17:15:33 +08:00
thinkphp
d585442eda 修正单元测试 2016-12-08 17:08:41 +08:00
thinkphp
3e22f21d34 增加默认模板替换字符串 __ROOT__ __STATIC__ __JS__ __CSS__ __URL__ 都不带域名 2016-12-08 17:03:32 +08:00
thinkphp
6ba9c88c95 验证类的confirm方法field参数可选 便于静态验证 2016-12-08 13:34:04 +08:00
thinkphp
501cc85207 改进Php模板引擎驱动的模板定位规则 2016-12-08 11:04:39 +08:00
thinkphp
89239cceb4 Model类的append hidden和visible 方法默认会和属性设置合并 增加第二个参数用于覆盖 2016-12-07 18:18:38 +08:00
thinkphp
275d04d316 修正多对多关联删除 2016-12-07 18:17:45 +08:00
thinkphp
c951001f6c 改进Response类getHeader方法 2016-12-07 17:00:25 +08:00
thinkphp
90b0da7bed 改进Model类setAttr方法 2016-12-07 15:33:15 +08:00
thinkphp
73c47acef8 改进Query类和Builder类 2016-12-07 12:14:31 +08:00