Home
last modified time | relevance | path

Searched refs:sqlite (Results 1 – 25 of 181) sorted by last modified time

12345678

/plugin/structpublish/_test/
H A Drevision.test.php16 protected $pluginsEnabled = ['sqlite', 'struct', 'structpublish'];
21 protected $sqlite; variable in revision_plugin_structpublish_test
41 $this->sqlite = $assignments->getSqlite();
/plugin/structpublish/action/
H A Dmigration.php3 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 Ddb.php12 * 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 Dpublish.php73 $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 DAccessTableStructpublish.php74 $ret = $this->sqlite->queryValue($sql, $opts);
90 return $this->sqlite->query(
H A DAssignments.php5 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 DRevision.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
17 protected $sqlite; variable in dokuwiki\\plugin\\structpublish\\meta\\Revision
/plugin/structpublish/
H A Drequirements.txt2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/struct/meta/
H A DAccessTable.php25 protected $sqlite; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
128 $this->sqlite = $helper->getDB();
234 $this->sqlite->query('BEGIN TRANSACTION');
239 $ok = $ok && $this->sqlite->query(
251 $ok = $ok && $this->sqlite->query(
261 $this->sqlite->query('ROLLBACK TRANSACTION');
264 $this->sqlite->query('COMMIT TRANSACTION');
337 $ok = $ok && $this->sqlite->query($sql, $query);
445 return $this->sqlite->queryAll($sql, $opt);
638 return $this->sqlite
[all...]
H A DAccessTableGlobal.php28 $this->sqlite->query($sql, $this->rid);
30 $this->sqlite->query($sql, $this->rid);
119 $this->rid = $this->sqlite->queryValue("SELECT rid FROM $this->stable WHERE ROWID = last_insert_rowid()");
H A DAccessTablePage.php59 $ret = $this->sqlite->queryValue($sql, $opts);
82 $ok = $this->sqlite->query(
87 return $ok && $this->sqlite->query(
H A DAssignments.php19 protected $sqlite;
51 $this->sqlite = $helper->getDB();
63 $this->patterns = $this->sqlite->queryAll($sql);
77 $ok = (bool)$this->sqlite->query($sql, [$pattern, $table]);
98 $ok = (bool)$this->sqlite->query($sql, [$pattern, $table]);
105 $pagerows = $this->sqlite->queryAll($sql, [$table]);
131 $tablerows = $this->sqlite->queryAll($sql, [$pid]);
154 $ok = (bool)$this->sqlite->query($sql);
161 $ok = $ok && (bool)$this->sqlite->query($sql);
179 return (bool)$this->sqlite
17 protected $sqlite; global() variable in dokuwiki\\plugin\\struct\\meta\\Assignments
[all...]
H A DCSVImporter.php23 protected $sqlite; variable in dokuwiki\\plugin\\struct\\meta\\CSVImporter
59 $this->sqlite = $db->getDB(true);
H A DPageMeta.php8 protected $sqlite; variable in dokuwiki\\plugin\\struct\\meta\\PageMeta
22 $this->sqlite = $helper->getDB();
42 $data = $this->sqlite->queryRecord($sql, [$this->pid]);
52 $this->sqlite->query($sql, [$this->pid, $this->title, $this->lasteditor, $this->lastrev, $this->lastsummary]);
H A DSchema.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
24 protected $sqlite; variable in dokuwiki\\plugin\\struct\\meta\\Schema
64 $this->sqlite = $helper->getDB();
87 $schema = $this->sqlite->queryAll($sql, $opt);
108 $rows = $this->sqlite->queryAll($sql, [$this->id]);
194 $this->sqlite->query('BEGIN TRANSACTION');
197 $this->sqlite->query($sql . 'data_' . $this->table);
198 $this->sqlite->query($sql . 'multi_' . $this->table);
201 $this->sqlite->query($sql);
204 $this->sqlite
[all...]
H A DSchemaBuilder.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
48 protected $sqlite;
69 $this->sqlite = $this->helper->getDB();
84 $this->sqlite->query('BEGIN TRANSACTION');
99 $this->sqlite->query('ROLLBACK TRANSACTION');
102 $this->sqlite->query('COMMIT TRANSACTION');
158 $this->sqlite->query($sql, [$this->table, $this->time, $this->user, $config]);
159 $this->newschemaid = $this->sqlite->queryValue('SELECT last_insert_rowid()');
188 $ok = $this->sqlite->saveRecord('types', $newEntry);
190 $newTid = $this->sqlite
47 protected $sqlite; global() variable in dokuwiki\\plugin\\struct\\meta\\SchemaBuilder
[all...]
H A DSearch.php30 protected $sqlite; variable in dokuwiki\\plugin\\struct\\meta\\Search
71 $this->sqlite = $this->dbHelper->getDB();
76 return $this->sqlite;
471 $res = $this->sqlite->query($sql, $opts);
H A DSearchCloud.php110 $res = $this->sqlite->query($sql, $opts);
/plugin/struct/
H A Drequirements.txt2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/struct/types/
H A DTag.php63 $sqlite = $hlp->getDB();
64 $rows = $sqlite->queryAll($sql, $opt);
/plugin/struct/action/
H A Dcache.php6 use dokuwiki\plugin\sqlite\SQLiteDB;
84 $sqlite = $db->getDB(false);
85 if ($sqlite instanceof SQLiteDB) {
86 $cache->depends['files'][] = $sqlite->getDbFile();
H A Dentry.php30 protected $sqlite;
27 protected $sqlite; global() variable in action_plugin_struct_entry
H A Dmigration.php6 use dokuwiki\plugin\sqlite\SQLiteDB;
53 * @param SQLiteDB $sqlite
56 protected function migration12($sqlite)
60 $tables = $sqlite->queryAll($sql);
65 $sqlite->query($sql);
76 * @param SQLiteDB $sqlite
79 protected function migration16($sqlite)
85 $tables = $sqlite->queryAll($sql);
91 $schemas = $sqlite->queryAll($sql);
101 $ok = $ok && $sqlite
52 migration12($sqlite) global() argument
74 migration16($sqlite) global() argument
232 migration17($sqlite) global() argument
306 migration18($sqlite) global() argument
323 migration19($sqlite) global() argument
[all...]
/plugin/struct/helper/
H A Ddb.php12 use dokuwiki\plugin\sqlite\SQLiteDB;
18 protected $sqlite;
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);
36 $this->sqlite->getPdo()->sqliteCreateFunction('IS_PUBLISHER', [$this, 'IS_PUBLISHER'], -1);
40 * @param bool $throw throw an Exception when sqlite not available or fails to load
46 if (!$this->sqlite instanceof SQLiteDB) {
48 if ($throw || defined('DOKU_UNITTEST')) throw new StructException('no sqlite');
60 return $this->sqlite;
16 protected $sqlite; global() variable in helper_plugin_struct_db
[all...]
H A Dimexport.php11 use dokuwiki\plugin\sqlite\SQLiteDB;
19 private $sqlite;
39 $this->sqlite = $helper->getDB(false);
40 if (!$this->sqlite instanceof SQLiteDB) return;
42 $schemaName = $this->sqlite->escape_string($schemaName);
47 $pattern = $this->sqlite->escape_string($pattern);
51 $this->sqlite->doTransaction($sql);
66 $this->sqlite = $helper->getDB(false);
67 if (!$this->sqlite instanceof SQLiteDB) return [];
70 $patterns = $this->sqlite
15 private $sqlite; global() variable in helper_plugin_struct_imexport
[all...]

12345678