Ejemplo n.º 1
0
 /**
  * 构造方法:初始化分表数字
  * @param integer $tableNum 分表数字,如果 >= 0 表示分表操作
  */
 public function __construct($tableNum = -1)
 {
     parent::__construct();
     $this->_tableNum = (int) $tableNum;
 }
Ejemplo n.º 2
0
 /**
  * 构造方法:初始化数据库操作类
  */
 public function __construct()
 {
     parent::__construct();
     $this->_userGroups = new Usergroups();
 }