数组定义用法统一

This commit is contained in:
thinkphp
2013-04-11 14:49:39 +08:00
parent bbe3ebedcf
commit 00ee80e943
35 changed files with 83 additions and 81 deletions

View File

@@ -11,12 +11,15 @@
// $Id$
namespace Think;
class Model {
//use Think\Model\Traits\ActiveRecord;
// 操作状态
const MODEL_INSERT = 1; // 插入模型数据
const MODEL_UPDATE = 2; // 更新模型数据
const MODEL_BOTH = 3; // 包含上面两种方式
// 当前使用的扩展模型
private $_extModel = null;
// 当前数据库操作对象