示例#1
0
文件: model.php 项目: vgalitsky/moze
 /**
  * @param null $table
  * @param null $idfield
  */
 public function __construct($table = null, $idfield = null)
 {
     parent::__construct();
     if ($table) {
         $this->_init($table, $idfield);
     }
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
 }
示例#3
0
文件: db.php 项目: vgalitsky/moze
 /**
  * @param PDO $connection
  * @return $this
  */
 public function setConnection($connection)
 {
     self::$connection = $connection;
     return $this;
 }