Home
last modified time | relevance | path

Searched refs:sqlite (Results 26 – 50 of 181) sorted by last modified time

12345678

/plugin/acknowledge/
H A Dhelper.php7 use dokuwiki\plugin\sqlite\SQLiteDB;
39 msg($this->getLang('error sqlite plugin missing'), -1);
H A Drequirements.txt2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/sqlite/
H A DFunctions.php8 namespace dokuwiki\plugin\sqlite;
H A DQuerySaver.php3 namespace dokuwiki\plugin\sqlite;
17 $this->db = new SQLiteDB('sqlite', DOKU_PLUGIN . 'sqlite/db/');
H A Dadmin.php6 use dokuwiki\plugin\sqlite\QuerySaver;
7 use dokuwiki\plugin\sqlite\SQLiteDB;
8 use dokuwiki\plugin\sqlite\Tools;
11 * DokuWiki Plugin sqlite (Admin Component)
147 'link' => wl($ID, ['do' => 'admin', 'page' => 'sqlite']),
156 'link' => wl($ID, ['do' => 'admin', 'page' => 'sqlite', 'db' => $db, 'sectok' => getSecurityToken()]),
228 * Construct a link to the sqlite admin page with the given additional parameters
242 'page' => 'sqlite',
H A Dplugin.info.txt1 base sqlite
5 name sqlite plugin
7 url http://www.dokuwiki.org/plugin:sqlite
H A DREADME6 will look for the PHP sqlite extension.
9 The sqlite extension supports sqlite2 only, here this plugin will look for *.sqlite files.
15 sqlite databasename.sqlite .dump | sqlite3 databasename.sqlite3
17 More about this upgrade on http://www.sqlite.org/version3.html
20 http://www.dokuwiki.org/plugin:sqlite
23 lib/plugins/sqlite/ - if the folder is called different it
H A DSQLiteDB.php9 namespace dokuwiki\plugin\sqlite;
45 if (!$plugin_controller->isEnabled('sqlite')) {
48 if (!class_exists('pdo') || !in_array('sqlite', \PDO::getAvailableDrivers())) {
64 'sqlite:' . $file,
74 // See https://www.sqlite.org/wal.html
91 * @see https://www.sqlite.org/pragma.html#pragma_optimize
167 Logger::debug('[sqlite] slow query: (' . $time . 's)', [
434 'sqlite' => $this->helper,
H A DTools.php3 namespace dokuwiki\plugin\sqlite;
H A Dhelper.php10 use dokuwiki\plugin\sqlite\SQLiteDB;
11 use dokuwiki\plugin\sqlite\Tools;
33 * DokuWiki Plugin sqlite (Helper Component)
53 msg('PDO SQLite support missing in this PHP install - The sqlite plugin will not work', -1);
81 return in_array('sqlite', \PDO::getAvailableDrivers());
/plugin/sqlite/_test/
H A DGeneralTest.php3 namespace dokuwiki\plugin\sqlite\test;
8 * General tests for the sqlite plugin
34 $this->assertEquals('sqlite', $info['base']);
64 'Both ' . DOKU_PLUGIN . 'sqlite/conf/default.php and ' . DOKU_PLUGIN . 'sqlite/conf/metadata.php have to exist and contain the same keys.'
72 'Key $meta[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'sqlite/conf/metadata.php'
80 'Key $conf[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'sqlite/conf/default.php'
H A DHelperTest.php3 namespace dokuwiki\plugin\sqlite\test;
22 $this->pluginsEnabled[] = 'sqlite';
33 $SqliteHelper = plugin_load('helper', 'sqlite');
34 if (!$SqliteHelper->init("testdb", DOKU_PLUGIN . "sqlite/_test/db")) {
H A DSQLiteDBTest.php3 namespace dokuwiki\plugin\sqlite\test;
5 use dokuwiki\plugin\sqlite\SQLiteDB;
23 $this->pluginsEnabled[] = 'sqlite';
35 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
41 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
53 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
71 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
85 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
96 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_test/db");
105 $db = new SQLiteDB('testdb', DOKU_PLUGIN . "sqlite/_tes
[all...]
/plugin/sqlite/helper/
H A Ddb.php6 * DokuWiki Plugin sqlite (Helper Component)
16 protected $sqlite;
32 $this->sqlite = plugin_load('helper', 'sqlite');
35 if (!$this->sqlite->init('sqlite', DOKU_PLUGIN . 'sqlite/db/')) {
36 $this->sqlite = null;
45 return $this->sqlite;
14 protected $sqlite; global() variable in helper_plugin_sqlite_db
/plugin/structstatus/
H A Daction.php3 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/starred/
H A Dhelper.php4 use dokuwiki\plugin\sqlite\SQLiteDB;
/plugin/aichat/Storage/
H A DSQLiteStorage.php9 use dokuwiki\plugin\sqlite\SQLiteDB;
/plugin/bez/mdl/
H A DAuthentication_tokenFactory.php14 $r = $this->model->sqlite->query("SELECT token FROM {$this->get_table_name()} WHERE page_id=?", $page_id);
15 $token = $this->model->sqlite->res2single($r);
38 $this->model->sqlite->storeEntry($this->get_table_name(),
H A DFactory.php223 $this->model->sqlite->query('BEGIN TRANSACTION');
227 $this->model->sqlite->query('COMMIT TRANSACTION');
231 $this->model->sqlite->query('ROLLBACK');
H A DModel.php21 protected $sqlite; variable in dokuwiki\\plugin\\bez\\mdl\\Model
60 in_array($property, array('sqlite', 'db', 'acl', 'dw_auth', 'user_nick', 'action', 'conf'))) {
89 $this->sqlite = $this->db_helper->getDB();
90 $this->db = $this->sqlite->getAdapter()->getPdo();
H A DSubscriptionFactory.php12 $r = $this->model->sqlite->query($q, $token);
13 return $this->model->sqlite->res2single($r);
24 $this->model->sqlite->query($q, $user_id);
31 $this->model->sqlite->query($q, $this->model->user_nick);
41 $this->model->sqlite->query($q, $this->model->user_nick);
50 $r = $this->model->sqlite->query($q, $this->model->user_nick);
51 $mute = $this->model->sqlite->res2single($r);
66 $r = $this->model->sqlite->query($q, $user);
67 $token = $this->model->sqlite->res2single($r);
70 $this->model->sqlite
[all...]
H A DTask.php300 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET state=?, closed_by=?, close_date=? WHERE id=?",
307 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET state=? WHERE id=?", $state, $this->id);
319 $this->model->sqlite->query('UPDATE task SET last_activity_date=? WHERE id=?',
356 $r = $this->model->sqlite->query($sql, $this->id);
357 $pars = $this->model->sqlite->res2arr($r);
375 $r = $this->model->sqlite->query($q, $this->id, $user_id);
376 $par = $this->model->sqlite->res2row($r);
414 $this->model->sqlite->query($sql, $this->id, $user_id);
444 $this->model->sqlite->storeEntry('task_participant', $values);
453 $this->model->sqlite
[all...]
H A DTaskFactory.php12 $r = $this->model->sqlite->query('SELECT
19 $data = $this->model->sqlite->res_fetch_array($r);
60 $stmt = $this->model->sqlite->query($sql, $thread->id);
90 $r = $this->model->sqlite->query($sql, $from, $to);
99 $r = $this->model->sqlite->query($sql);
125 $r = $this->model->sqlite->query($sql, $from, $to);
141 $r = $this->model->sqlite->query($sql);
H A DTask_commentFactory.php37 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET closing=1 WHERE id=?",
44 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET closing=0 WHERE task_id=?",
H A DThread.php158 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET state=?, closed_by=?, close_date=? WHERE id=?",
167 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET state=? WHERE id=?", $state, $this->id);
184 $this->model->sqlite->query("UPDATE {$this->get_table_name()} SET private=? WHERE id=?", $private, $this->id);
187 $this->model->sqlite->query("UPDATE task SET private=? WHERE thread_id=?", $private, $this->id);
192 $this->model->sqlite->query('UPDATE thread SET last_activity_date=? WHERE id=?',
211 $r = $this->model->sqlite->query($sql, $this->id);
212 $pars = $this->model->sqlite->res2arr($r);
230 $r = $this->model->sqlite->query($q, $this->id, $user_id);
231 $par = $this->model->sqlite->res2row($r);
269 $this->model->sqlite
[all...]

12345678