コード例 #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();
     // set field_types
     if (self::$__FIELD_TYPES == null) {
         self::$__FIELD_TYPES = array();
     }
     // 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;
     }
 }