Lines Matching refs:adapter
17 * For compatibility with previous adapter implementation.
42 protected $adapter;
55 $this->adapter = new helper_plugin_sqlite_adapter_dummy();
64 return $this->adapter;
102 $this->adapter = new SQLiteDB($dbname, $updatedir, $this);
111 * This is called from the adapter itself for backwards compatibility
113 * @param SQLiteDB $adapter
116 public function setAdapter($adapter)
118 $this->adapter = $adapter;
126 $this->adapter->getPdo()->sqliteCreateFunction($function_name, $callback, $num_args);
144 $this->adapter->saveRecord($table, $entry);
168 return $this->adapter->query($sql);
215 $args = array_map([$this->adapter->getPdo(), 'quote'], $args);
361 $vals = array_map([$this->adapter->getPdo(), 'quote'], $vals);
370 return $this->adapter->getPdo()->quote($string);
378 return trim($this->adapter->getPdo()->quote($str), "'");