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; } }
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; } }