Commit Graph

  • 6acd1470ca 修正Validate类 thinkphp 2016-04-10 23:18:45 +08:00
  • 32ba255de9 改进where对空条件的判断 thinkphp 2016-04-10 23:12:34 +08:00
  • 522e6cf8bf 改进代码 thinkphp 2016-04-10 17:04:15 +08:00
  • dab21914d8 改进Model类的get方法缓存判断 thinkphp 2016-04-10 16:40:48 +08:00
  • e39b72c21c 修正driver类 Model类get和all方法支持闭包查询 thinkphp 2016-04-10 16:17:06 +08:00
  • 4aa86efc5a Db类增加批处理执行sql操作方法 thinkphp 2016-04-10 15:45:00 +08:00
  • f97626f6a2 修正 thinkphp 2016-04-10 14:35:11 +08:00
  • 42073f04f9 Db类增加 transaction 方法用于执行某组数据事务操作 thinkphp 2016-04-10 14:30:26 +08:00
  • 9ac9d43a46 Db类增加listen方法 用于监听SQL执行操作 改进Model类事件 thinkphp 2016-04-10 14:17:54 +08:00
  • ecf2bf50e5 Model类的create和update静态方法 返回当前模型对象 thinkphp 2016-04-10 12:06:18 +08:00
  • 34538c2b02 改进关联查询方法relation thinkphp 2016-04-10 11:01:16 +08:00
  • 8b747500b3 注释完善 thinkphp 2016-04-10 10:37:06 +08:00
  • 6c406e208e Model类支持关联查询预载入功能 增加__toString方法 Db类增加relation和with方法 修正Model一处BUG thinkphp 2016-04-10 10:00:46 +08:00
  • 112a59723e 改进scope动态调用 thinkphp 2016-04-09 16:13:13 +08:00
  • e60f497bd6 Model类增加getPk方法用于获取主键 thinkphp 2016-04-09 15:13:25 +08:00
  • f68f27e245 改进字段的修改器、获取器和自动类型转换的优先级 并且不再同时执行 thinkphp 2016-04-09 15:11:29 +08:00
  • 5a70087133 model改进 thinkphp 2016-04-09 13:13:15 +08:00
  • 7fb2a9e291 Model类的before_insert before_update 位置调整 thinkphp 2016-04-09 13:05:40 +08:00
  • 2a9f1f0f79 Model类增加静态更新方法 update thinkphp 2016-04-09 12:48:56 +08:00
  • 6675a8f4da model类完善scope方法 并支持动态调用 重写driver类的scope方法 thinkphp 2016-04-09 12:37:41 +08:00
  • 4183edc3b0 Model类完善scope方法 thinkphp 2016-04-09 00:18:26 +08:00
  • d43f4ed6a8 scope方法调整 thinkphp 2016-04-08 18:42:30 +08:00
  • b7bf4dfaba Model类增加scope方法 thinkphp 2016-04-08 18:41:06 +08:00
  • a505a63969 Merge pull request #19 from cos800/patch-1 ThinkPHP 2016-04-08 18:20:25 +08:00
  • da9c41f9e7 Driver类的value方法拆分为value和column方法 用于获取单个值 及 列表值 thinkphp 2016-04-08 17:59:11 +08:00
  • 65f6ee1fcf Driver类的get方法更名为value方法 避免和model类的get方法混淆 thinkphp 2016-04-08 17:32:35 +08:00
  • 96c7d2c25a Model类的save方法传入更新条件的时候 标识为更新操作 thinkphp 2016-04-08 17:16:15 +08:00
  • 5af38b9bd0 修正isUpdate方法 thinkphp 2016-04-08 16:23:08 +08:00
  • 4ab1dbddd0 hook return_data 逻辑错误 cos800 2016-04-08 16:05:21 +08:00
  • 13142d6a6b Merge branch 'dev' of https://github.com/top-think/framework into dev thinkphp 2016-04-08 15:43:32 +08:00
  • 70de311a1d 改进 save方法的自动判断机制 支持一个位置注册多个事件 thinkphp 2016-04-08 15:43:00 +08:00
  • 46578f232a 修正注释 yunwuxin 2016-04-08 15:33:09 +08:00
  • 4dd4277910 完善 yunwuxin 2016-04-08 15:26:29 +08:00
  • ba3120eb0f 增加模型初始化方法 yunwuxin 2016-04-08 15:20:09 +08:00
  • b2a592f94d 优化 thinkphp 2016-04-08 14:42:23 +08:00
  • f3a0c1f77e 修正Model 修改器方法执行多次的问题 thinkphp 2016-04-08 14:37:48 +08:00
  • 303a8c7169 改进 thinkphp 2016-04-08 14:21:08 +08:00
  • 4f29fc0d65 改进Model 注释修改 thinkphp 2016-04-08 14:16:52 +08:00
  • e0d1f4d8b9 Model类数据验证方法改为public 增加insert和update快捷方法 thinkphp 2016-04-08 14:12:23 +08:00
  • a4cc8c2ca1 改进Model类 thinkphp 2016-04-08 12:47:09 +08:00
  • 1e4ec8d3d6 save方法拆分为save和update方法 区分保存和更新操作 thinkphp 2016-04-08 11:49:15 +08:00
  • 708dd2669f 删除Moel类 createTimeField updateTimeField timestamps属性 改由定义timestampField属性 并且配合 insert和update属性 thinkphp 2016-04-08 11:32:42 +08:00
  • 7112389ca7 改进自动完成机制 只需要设置 新增或者更新需要自动处理的字段名列表 然后交给修改器处理 thinkphp 2016-04-08 11:10:57 +08:00
  • f9dd66c523 类型转换增加array类型 自动进行json编码和解码 thinkphp 2016-04-08 10:35:32 +08:00
  • a39814d695 Model类增加自动记录时间戳字段功能 改进数据自动完成 thinkphp 2016-04-07 18:40:56 +08:00
  • 28fbc5fde3 Model增加类型自动转换设置属性 type, Driver类取消强制自动类型转换 thinkphp 2016-04-07 16:53:29 +08:00
  • fb4f63266c Model类的save方法返回值 不再判断 自增ID thinkphp 2016-04-07 15:42:50 +08:00
  • 0abae164e4 修正Driver当写入空数据的问题 thinkphp 2016-04-07 15:37:57 +08:00
  • 2a56e81fce 修正Driver类的get方法 thinkphp 2016-04-07 14:54:27 +08:00
  • a9980abba8 改进Db/Driver类 对闭包查询条件的支持 fetchMode方法更改为fetchPdo方法 如果传入true 则表示查询结果返回PDOStatment对象 thinkphp 2016-04-07 14:13:40 +08:00
  • f162cbc44f 改进isUpdate方法 thinkphp 2016-04-07 12:36:02 +08:00
  • f8a35a1be4 where方法支持null和notnull表达式查询 model类db方法改为protected thinkphp 2016-04-07 11:26:44 +08:00
  • 3691114bef 改进model类 增加before_write 和 after_write 事件 save方法成功后 自动完成操作会直接影响数据对象值 取消 auto autoinsert autoupdate 方法 改成直接属性定义 thinkphp 2016-04-07 10:50:24 +08:00
  • 164b73f0c3 改进config和lang类的文件加载信息日志记录 thinkphp 2016-04-06 15:34:41 +08:00
  • 644adf60be 改进Model类的 关联外键规则 thinkphp 2016-04-06 11:17:48 +08:00
  • 22d63bc6e3 改进Model类的validate方法 thinkphp 2016-04-06 11:09:02 +08:00
  • 1daf055f56 null为php7的关键字 yunwuxin 2016-04-06 11:08:51 +08:00
  • 0d55a6bc01 Merge pull request #13 from yovei/master ThinkPHP 2016-04-06 11:02:27 +08:00
  • 6a16727e97 默认添加create_time update_time 自动完成规则 thinkphp 2016-04-05 23:20:06 +08:00
  • 0265a36941 完善Model thinkphp 2016-04-05 22:14:30 +08:00
  • 7770dd04b4 Log::record($log, 'error'); // 记录的错误,但是未保存 导致出现错误 无法跟踪 Mr.Wang 2016-04-05 19:21:42 +08:00
  • e5e386e1fd 关联字段默认转换为小写 thinkphp 2016-04-05 18:16:00 +08:00
  • 8dac37dd0e 去除modelTest thinkphp 2016-04-05 17:38:48 +08:00
  • dffcd7df1e 去掉Loader类的table方法 改进model方法 thinkphp 2016-04-05 17:31:59 +08:00
  • e03fd229d9 改进Model类 简化关联操作 修正Db类参数绑定问题 thinkphp 2016-04-05 17:24:10 +08:00
  • cff39cfaa8 Merge pull request #12 from top-think/revert-11-master Chino Chang 2016-04-05 15:00:20 +08:00
  • 0eafee8a69 Revert "Console 增加清理缓存功能" Chino Chang 2016-04-05 14:59:52 +08:00
  • 3ac7553dbc Merge pull request #11 from chunice/master Chino Chang 2016-04-05 14:52:28 +08:00
  • d9109654f3 Console 增加清理缓存功能 chunice 2016-04-05 14:45:06 +08:00
  • 25831f77d8 console模式下载入配置 yunwuxin 2016-04-05 14:40:56 +08:00
  • 4b6115d051 修正方法 thinkphp 2016-04-04 22:37:01 +08:00
  • 6e5658b0b9 重构Model类和Driver类 thinkphp 2016-04-04 22:33:58 +08:00
  • 5a0664c826 还原mysql驱动修改 thinkphp 2016-04-03 20:03:44 +08:00
  • 45e593ec08 改进吞吐率计算 thinkphp 2016-04-03 20:01:17 +08:00
  • ba7e7387ba Merge pull request #8 from leunggamciu/more-test-case ThinkPHP 2016-04-02 22:44:12 +08:00
  • d4051a1640 增加Url类单元测试 leunggamciu 2016-04-02 09:25:11 +08:00
  • e254999245 完善Build类 开放module创建模块方法为公共方法 thinkphp 2016-04-01 20:05:35 +08:00
  • 29a5fa9350 修正单元测试 thinkphp 2016-04-01 19:41:41 +08:00
  • d5516d7200 修正Url类生成 thinkphp 2016-04-01 19:20:28 +08:00
  • b377d97b80 修正Model类 thinkphp 2016-04-01 14:01:15 +08:00
  • 732ddff179 修正保存的时候 主键更改的问题~ thinkphp 2016-04-01 12:31:13 +08:00
  • e95b98b3a3 修正URL生成类 thinkphp 2016-03-31 13:53:28 +08:00
  • cfe332af2f 完善Url生成对动态变量和静态变量的混合传参 thinkphp 2016-03-31 11:00:12 +08:00
  • 07b52db1a2 改进Url生成类对路由映射和没有动态变量的支持 thinkphp 2016-03-31 08:22:18 +08:00
  • 561e57af5c Merge pull request #5 from shuipf/master ThinkPHP 2016-03-30 21:15:21 +08:00
  • a79b506dfb Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-03-30 17:28:48 +08:00
  • ba7415cce7 改进Url类支持 路由映射 thinkphp 2016-03-30 17:28:19 +08:00
  • 05cbf1c146 修复File缓存方式下,clear报错误 shuipf 2016-03-30 13:30:22 +08:00
  • ad6d96f0e4 Merge pull request #4 from oldrind/master ThinkPHP 2016-03-30 10:52:02 +08:00
  • e462a05a00 视图模型增加对where组合条件的字段转换 oldrind 2016-03-30 10:37:05 +08:00
  • 1ef37d253d 修正model类join方法不能读取指定表前缀的问题 oldrind 2016-03-30 10:11:09 +08:00
  • 9ca3a29b59 Merge remote-tracking branch 'origin/master' yunwuxin 2016-03-28 15:45:21 +08:00
  • fd2c58bfb8 修正composer安装,完善console模式 yunwuxin 2016-03-28 15:44:56 +08:00
  • c20f449783 完善validate类的ip验证规则 thinkphp 2016-03-28 10:51:01 +08:00
  • 51eb09ef5a 增加requireCallback验证规则 thinkphp 2016-03-28 10:38:39 +08:00
  • 1cb86e4a3b 控制器版本移除 增加controller_load标签位 thinkphp 2016-03-27 20:47:44 +08:00
  • bfd89eaed5 app_begin标签添加参数 控制器版本默认变量改为v thinkphp 2016-03-27 17:35:47 +08:00
  • ab5633704e 添加控制器版本功能 删除 mongodb thinkphp 2016-03-27 17:23:29 +08:00
  • 615d529519 修正Route类一处bug thinkphp 2016-03-27 11:31:42 +08:00
  • 78142b7bc2 改进Url类对可选参数的支持 thinkphp 2016-03-27 11:20:12 +08:00