Lines Matching refs:adapter
113 $adapter = $sqlitePlugin->getAdapter();
114 if ($adapter == null) {
118 $adapter->setUseNativeAlter(true);
128 $adapter = $sqlitePlugin->getAdapter();
137 if (!self::isJuneVersion($adapter)) {
139 $adapter->create_function($regexFunctioName, $regexpClosure, $regexArgCount);
141 $adapter->getPdo()->sqliteCreateFunction($regexFunctioName, $regexpClosure, $regexArgCount);
308 $adapter = $this->sqlitePlugin->getAdapter();
309 if ($adapter === null) {
316 if (!self::isJuneVersion($adapter)) {
318 $db = $adapter->getDb();
320 $db = $adapter->getPdo();
342 $dbFile = $adapter->getDbFile();
383 $adapter = $this->sqlitePlugin->getAdapter();
384 if ($adapter !== null) {
386 if (!$this->isJuneVersion($adapter)) {
388 $adapter->closedb();
390 $adapter->__sleep();
393 unset($adapter);
478 * @param $adapter
481 public static function isJuneVersion($adapter): bool
483 return get_class($adapter) === SQLiteDB::class;