/plugin/struct/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/struct/types/ |
H A D | Tag.php | 63 $sqlite = $hlp->getDB(); 64 $rows = $sqlite->queryAll($sql, $opt);
|
/plugin/structnotification/action/ |
H A D | notification.php | 48 $sqlite = $db_helper->getDB(); 49 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile(); 77 $sqlite = $db_helper->getDB(); 86 $res = $sqlite->query($q); 88 $predicates = $sqlite->res2arr($res);
|
/plugin/structnotification/ |
H A D | admin.php | 47 $sqlite = $db_helper->getDB(); 62 $ok = $sqlite->storeEntry('predicate', $predicate); 65 $ok = $sqlite->query('DELETE FROM predicate WHERE id=?', $predicate['id']); 78 $ok = $sqlite->query("UPDATE predicate SET $set WHERE id=?", $predicate); 98 $sqlite = $db_helper->getDB(); 116 $res = $sqlite->query($q); 118 $predicates = $sqlite->res2arr($res);
|
/plugin/structnotification/helper/ |
H A D | db.php | 18 protected $sqlite; variable in helper_plugin_structnotification_db 35 /** @var helper_plugin_sqlite $sqlite */ 36 $this->sqlite = plugin_load('helper', 'sqlite'); 37 if (!$this->sqlite) { 39 throw new \Exception('Couldn\'t load sqlite.'); 44 if ($this->sqlite->getAdapter()->getName() != DOKU_EXT_PDO) { 46 throw new \Exception('Couldn\'t load PDO sqlite.'); 48 $this->sqlite = null; 51 $this->sqlite [all...] |
/plugin/structpublish/_test/ |
H A D | revision.test.php | 16 protected $pluginsEnabled = ['sqlite', 'struct', 'structpublish']; 21 protected $sqlite; variable in revision_plugin_structpublish_test 41 $this->sqlite = $assignments->getSqlite();
|
/plugin/structpublish/action/ |
H A D | migration.php | 3 use dokuwiki\plugin\sqlite\Tools; 22 * so we cannot use the mechanism in sqlite init() 39 $sqlite = $helper->getDB(); 41 list($dbVersionStruct, $dbVersionStructpublish) = $this->getDbVersions($sqlite); 67 $ok = $ok && $this->$call($sqlite); 73 $ok = $ok && $sqlite->query($sql); 82 * @param \dokuwiki\plugin\sqlite\SQLiteDB $sqlite 85 protected function getDbVersions($sqlite) 91 $vals = $sqlite 83 getDbVersions($sqlite) global() argument 116 migration1($sqlite) global() argument 141 migration2($sqlite) global() argument [all...] |
/plugin/structpublish/helper/ |
H A D | db.php | 12 * Registers our own IS_PUBLISHER function with sqlite 14 * @return \dokuwiki\plugin\sqlite\SQLiteDB|null 24 $sqlite = $struct->getDB(false); 25 if (!$sqlite) { 31 $sqlite->getPdo()->sqliteCreateFunction('IS_PUBLISHER', [$this, 'isPublisher'], -1); 35 return $sqlite; 45 $sqlite = $this->getDB(); 46 if (!$sqlite) { 51 $list = $sqlite->queryAll($sql); 64 $sqlite [all...] |
H A D | publish.php | 73 $sqlite = $this->dbHelper->getDB(); 77 $sqlite->query("UPDATE data_$table SET published = 0 WHERE pid = ?", [$ID]); 78 $sqlite->query("UPDATE multi_$table SET published = 0 WHERE pid = ?", [$ID]); 81 $sqlite->query( 85 $sqlite->query(
|
/plugin/structpublish/meta/ |
H A D | AccessTableStructpublish.php | 74 $ret = $this->sqlite->queryValue($sql, $opts); 90 return $this->sqlite->query(
|
H A D | Assignments.php | 5 use dokuwiki\plugin\sqlite\SQLiteDB; 18 protected $sqlite; variable in dokuwiki\\plugin\\structpublish\\meta\\Assignments 50 $this->sqlite = $helper->getDB(); 61 $this->patterns = $this->sqlite->queryAll($sql); 76 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]); 88 $this->sqlite->query('BEGIN TRANSACTION'); 94 $ok = $ok && $this->sqlite->query('COMMIT TRANSACTION'); 96 $this->sqlite->query('ROLLBACK TRANSACTION'); 114 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]); 121 $pagerows = $this->sqlite [all...] |
H A D | Revision.php | 5 use dokuwiki\plugin\sqlite\SQLiteDB; 17 protected $sqlite; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision
|
/plugin/structpublish/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/structstatus/ |
H A D | action.php | 3 use dokuwiki\plugin\sqlite\SQLiteDB; 45 $sqlite = $helper->getDB(); 64 $schemas= $sqlite->queryAll($sql); 66 $sqlite->getPdo()->beginTransaction(); 78 $sqlite->query($sql); 80 $sqlite->getPdo()->commit(); 82 $sqlite->getPdo()->rollBack(); 106 * @param SQLiteDB $sqlite 116 $cols = $sqlite->queryAll($s); 135 * @param SQLiteDB $sqlite [all …]
|
/plugin/structtasks/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/structtemplate/_vagrant/ |
H A D | Vagrantfile | 14 dw_extensions = "dev sqlite struct"
|
/plugin/swarmwebhook/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/tagging/ |
H A D | README | 13 This plugin requires the sqlite plugin! 14 See https://www.dokuwiki.org/plugin:sqlite
|
/plugin/telleveryone/action/ |
H A D | migration.php | 49 $sqlite = $data['sqlite']; 52 $sqlite->storeEntry('config', [
|
H A D | notification.php | 61 $sqlite = $db_helper->getDB(); 62 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile(); 76 $sqlite = $db_helper->getDB(); 83 $res = $sqlite->query($q, $this->getConf('limit')); 85 $logs = $sqlite->res2arr($res);
|
/plugin/telleveryone/ |
H A D | admin.php | 49 $sqlite = $db_helper->getDB(); 61 $sqlite->storeEntry('log', [ 70 $sqlite->query('DELETE FROM log WHERE id=?', $log['id']); 77 …$sqlite->query('UPDATE log SET message=?, message_html=? WHERE id=?', $message, $message_html, $lo… 95 $sqlite = $db_helper->getDB(); 101 $res = $sqlite->query("SELECT value FROM config WHERE key='token'"); 102 $token = $sqlite->res2single($res); 107 …$res = $sqlite->query('SELECT id, timestamp, message, message_html FROM log ORDER BY timestamp DES… 108 $logs = $sqlite->res2arr($res);
|
H A D | api.php | 10 $sqlite = $db_helper->getDB(); variable 16 $res = $sqlite->query("SELECT value FROM config WHERE key='token'"); 17 if ($sqlite->res2single($res) != $INPUT->str('token')) { 22 $res = $sqlite->query('SELECT id, timestamp, user, message_html FROM log 24 $arr = $sqlite->res2arr($res);
|
/plugin/telleveryone/helper/ |
H A D | db.php | 18 protected $sqlite; variable in helper_plugin_telleveryone_db 36 $this->sqlite = plugin_load('helper', 'sqlite'); 37 if (!$this->sqlite) { 48 $this->sqlite = null; 51 $this->sqlite->getAdapter()->setUseNativeAlter(true); 58 $this->sqlite = null; 72 …if ($this->sqlite && $conf['metadir'] != substr($this->sqlite->getAdapter()->getDbFile(), 0, $len)… 75 if(!$this->sqlite && $throw) { 78 return $this->sqlite; 88 if (!$this->sqlite) { [all …]
|
/plugin/timetrack/ |
H A D | helper.php | 64 $sqlite = $this->getDb(); 65 if(!$sqlite) return false; 69 $sqlite->res_close($res); 76 $sqlite->res_close($res); 89 $sqlite = $this->getDb(); 117 $sqlite = $this->getDb(); 130 $sqlite->res_close($res); 155 $sqlite = $this->getDb(); 161 $sqlite->res_close($res); 181 $sqlite = $this->getDb(); [all …]
|
/plugin/top/_test/ |
H A D | date.test.php | 18 $sqlite = $top_helper->getDBHelper(); 21 $sqlite->query($sql,'wiki:start',3,'','201407'); 22 $sqlite->query($sql,'wiki:start',2,'','201401'); 23 $sqlite->query($sql,'wiki:start',6,'','201201'); 24 $sqlite->query($sql,'wiki:start',1,'',null); 25 $sqlite->query($sql,'en:wiki:start',8,'en','201201'); 26 $sqlite->query($sql,'en:wiki:start',1,'en','201303'); 27 $sqlite->query($sql,'de:wiki:start',6,'de','201201');
|