Commit Graph

1722 Commits

Author SHA1 Message Date
thinkphp
0af5b072a9 改进Query类的find方法 支持查询主键为0的情况 2016-05-03 18:20:33 +08:00
thinkphp
289507c0ce Model类增加toJson方法输出JSON字符串 2016-05-03 12:28:15 +08:00
thinkphp
c7e363ef3b 改进Route类可选参数的完整匹配支持 2016-05-03 08:40:33 +08:00
thinkphp
c9a0d4dbaa 改进Model类的时间类型转换 2016-05-02 22:28:57 +08:00
thinkphp
483a86e1a7 修正Merge模型类 2016-05-02 16:17:52 +08:00
thinkphp
e41120dcbf 修正模型类的saveAll方法 db助手函数增加name参数 2016-05-02 14:24:11 +08:00
thinkphp
46e1d8dc17 console build 命令支持 使用 --module 模块名 方式生成默认模块目录 2016-04-30 22:33:49 +08:00
thinkphp
23e085ecf1 优化View类对输出内容的替换 2016-04-30 15:32:22 +08:00
thinkphp
a8a8d93baa 修正数据库字段大小写设置问题 修正Query类的where方法对原生sql条件的判断 2016-04-30 15:05:52 +08:00
thinkphp
11769ed15c 改进主从数据库的事务支持 2016-04-29 14:41:20 +08:00
thinkphp
494b0dce2b 改进Query类find和select方法的缓存处理 2016-04-29 11:14:24 +08:00
thinkphp
8f305a775e 修正Merge模型类 2016-04-28 23:15:30 +08:00
thinkphp
8eec4c5eb2 query类增加insertGetId方法 模型类的save方法 新增的时候 返回自增id 2016-04-28 23:10:04 +08:00
thinkphp
d8ac3012fe 数据库事务方法添加标识 防止事务嵌套的时候 提前提交 2016-04-28 17:53:20 +08:00
thinkphp
d8214cca48 改进Connection类的connect方法 2016-04-28 17:18:09 +08:00
thinkphp
7050d8b630 完善Builder类 2016-04-28 15:28:26 +08:00
thinkphp
c9ab0cc72a 改进where方法对原生条件的判断 2016-04-28 14:36:46 +08:00
thinkphp
810a88a48e 改进where方法的原生sql条件 并且支持参数绑定 2016-04-28 14:19:55 +08:00
thinkphp
43fb7cc445 改进Query类和Build类 改进查询语法 2016-04-28 14:06:06 +08:00
thinkphp
006b45dd9a 改进query类的聚合查询方法的返回值 2016-04-27 17:35:49 +08:00
thinkphp
7599d76864 Query类的options方法改为protected 不对外调用 2016-04-27 17:05:04 +08:00
thinkphp
0b104d2b49 改进一处 错误 2016-04-27 16:49:36 +08:00
thinkphp
00cd2e61d9 改进数据库连接的问题 2016-04-27 15:44:50 +08:00
thinkphp
6915f0249e 改进模型类对主键的自动读取 2016-04-27 12:42:57 +08:00
thinkphp
8cb52f60dd 改进Query类的join方法 2016-04-27 12:12:55 +08:00
thinkphp
fd6ca38265 修正Relation类 2016-04-27 11:12:52 +08:00
thinkphp
d33a164c2f 模式定义文件修改 2016-04-27 10:25:42 +08:00
thinkphp
d93ed98f77 修正模式定义文件 2016-04-27 10:02:42 +08:00
thinkphp
63f4ed0f37 模式定义文件修改 2016-04-26 23:46:25 +08:00
thinkphp
a6a3d572e7 修正Controller类的engine方法 2016-04-26 19:44:44 +08:00
thinkphp
305fdc0d8a 改进View类的instance方法 支持传入replace参数 2016-04-26 19:36:33 +08:00
thinkphp
8bb8f0919b 改进Lang类 去除无用的 traits\model 2016-04-26 19:12:14 +08:00
thinkphp
4b1e88d0cb 改进View类engine方法 如果传入字符串 则表示模板引擎名称 模板引擎参数取默认值 增加 view_replace_str 配置参数 用于设置全局 视图输出内容替换 2016-04-26 17:39:20 +08:00
thinkphp
29d3d9e503 修正 2016-04-26 17:09:47 +08:00
thinkphp
7c74dd9591 改进view类 调整模板引擎的配置参数定义和传入方式 2016-04-26 17:00:55 +08:00
thinkphp
6e79350a79 Merge branch 'master' of https://github.com/top-think/framework 2016-04-26 12:28:46 +08:00
thinkphp
cd35b85398 改进Model类的destroy方法 2016-04-26 12:09:53 +08:00
ThinkPHP
3344850763 Merge pull request #40 from shuipf/master
优化parseDomain
2016-04-26 12:01:02 +08:00
shuipf
d6d6dbff43 去除调试代码 2016-04-26 10:10:45 +08:00
shuipf
3eab80b016 继续完善,对*的处理 2016-04-26 10:08:35 +08:00
shuipf
58c59ec23e Update Url.php
修改parseDomain方法,判断是否有配置url_domain_root
2016-04-26 09:45:16 +08:00
thinkphp
61a97ab69d 修正Model类 2016-04-26 08:37:18 +08:00
thinkphp
67c47dd526 改进对Page的解析位置 2016-04-26 08:25:31 +08:00
thinkphp
94c1ffb986 改进Model类的toArray方法 支持获取器读取输出 2016-04-25 19:55:06 +08:00
thinkphp
eb08ace50b 修正Controller类的注释 2016-04-25 17:54:06 +08:00
thinkphp
e33a80a6b9 修正Model类的save方法一处bug 2016-04-25 17:43:45 +08:00
thinkphp
e4f45aa0cd 改进Validate类的uniuqe验证规则 第一个参数传入不带数据表前缀的表名 并且支持主键自动获取 2016-04-25 15:04:47 +08:00
thinkphp
5da3b9135f 修正relation类 2016-04-25 14:17:55 +08:00
thinkphp
d21bc52855 改进Relation 2016-04-25 14:11:04 +08:00
thinkphp
a9577009f8 改进Model类和Query类 name方法纳入链式操作 查询完成后释放 原来Connection类的getTableInfo方法移入 Query类 2016-04-25 13:35:46 +08:00