Lines Matching refs:this
27 $this->sqlite = new SQLiteDB('struct', DOKU_PLUGIN . 'struct/db/');
30 $this->sqlite->getPdo()->sqliteCreateFunction('STRUCT_JSON', [$this, 'STRUCT_JSON'], -1);
33 $this->sqlite->getPdo()->sqliteCreateFunction('STRUCT_LOOKUP', [$this, 'STRUCT_LOOKUP'], -1);
35 // this function is meant to be overwritten by plugins
36 $this->sqlite->getPdo()->sqliteCreateFunction('IS_PUBLISHER', [$this, 'IS_PUBLISHER'], -1);
46 if (!$this->sqlite instanceof SQLiteDB) {
53 $this->init();
60 return $this->sqlite;
66 * You do not want to call this except for testing!
70 if (!$this->sqlite) return;
71 $file = $this->sqlite->getDbFile();
75 $this->sqlite = null;