コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     // this is a simple hack to get ESCAPE_CHAR
     $test = $this->protect_identifiers('t');
     $first_char = substr($test, 0, 1);
     if ($first_char !== 't') {
         $this->ESCAPE_CHAR = $first_char;
     }
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
 }
コード例 #3
0
 function __construct()
 {
     parent::__construct();
     //Load a drivername
     include APPPATH . 'config/database.php';
     $this->driver_name = $db['default']['dbdriver'];
 }