예제 #1
0
 function __construct()
 {
     parent::__construct();
     global $fpdo;
     $this->fpdo = $fpdo;
 }
예제 #2
0
파일: Db.php 프로젝트: jonathanbak/smb
 public function __construct($dbName = '')
 {
     $options = Configure::db($dbName);
     $options = array_merge($options, array('options' => array('buffer_results' => true)));
     parent::addExt(new \Zend\Db\Adapter\Adapter($options));
 }