Home
last modified time | relevance | path

Searched refs:sqlite (Results 1 – 25 of 181) sorted by path

12345678

/plugin/404manager/
H A Dadmin.php63 private $sqlite; variable in admin_plugin_404manager
365 $count = $this->sqlite->res2count($res);
448 $count = $this->sqlite->res2count($res);
457 $res = $this->sqlite->query($statement, $entry);
565 $value = $this->sqlite->res2single($res);
689 $this->sqlite = plugin_load('helper', 'sqlite');
690 if (!$this->sqlite) {
710 if ($this->sqlite == null) {
712 if (!$this->sqlite) {
778 $value = $this->sqlite->res2single($res);
[all …]
H A Drequirements.txt3 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/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/addressbook/
H A DREADME.md5 …e contacts are stored in a sqlite3-database. The [sqlite-plugin](https://www.dokuwiki.org/plugin:s…
73 * [sqlite-plugin](https://www.dokuwiki.org/plugin:sqlite) / **2020-11-18**
H A Daction.php64 $sqlite = $db_helper->getDB();
76 $query = $sqlite->query($sql);
77 $res = $sqlite->res2arr($query);
79 if ($sqlite->res2count($sqlite->query($sql)) == 0) {
H A Dplugin.info.txt6 desc Simple addressbook using the sqlite-plugin
H A Dsyntax.php379 $query = $sqlite->query($sql);
525 $sqlite->query($sql);
595 $query = $sqlite->query($sql);
596 $res = $sqlite->res2arr($query);
600 if ($sqlite->res2count($sqlite->query($sql)) == 0) {
628 $query = $sqlite->query($sql);
629 $res = $sqlite->res2arr($query);
634 if ($sqlite->res2count($sqlite->query($sql)) == 0) {
673 $query = $sqlite->query($sql);
679 if ($sqlite->res2count($sqlite->query($sql)) == 0) {
[all …]
/plugin/addressbook/helper/
H A Ddb.php18 protected $sqlite; variable in helper_plugin_addressbook_db
38 $this->sqlite = plugin_load('helper', 'sqlite');
39 if (!$this->sqlite) {
50 $this->sqlite = null;
53 $this->sqlite->getAdapter()->setUseNativeAlter(true);
60 $this->sqlite = null;
74 …if ($this->sqlite && $conf['metadir'] != substr($this->sqlite->getAdapter()->getDbFile(), 0, $len)…
77 if(!$this->sqlite && $throw) {
80 return $this->sqlite;
90 if (!$this->sqlite) {
[all …]
/plugin/aichat/Storage/
H A DSQLiteStorage.php9 use dokuwiki\plugin\sqlite\SQLiteDB;
/plugin/approve/action/
H A Dapprove.php28 $sqlite = $db_helper->getDB();
36 if (!$helper->use_approve_here($sqlite, $INFO['id'])) return;
58 $sqlite = $db_helper->getDB();
66 if (!$helper->use_approve_here($sqlite, $INFO['id'])) return;
68 $last_approved_rev = $helper->find_last_approved($sqlite, $INFO['id']);
83 $sqlite = $db_helper->getDB();
93 if (!$helper->use_approve_here($sqlite, $INFO['id'], $approver)) return;
96 $res = $sqlite->query('SELECT MAX(version)+1 FROM revision
98 $next_version = $sqlite->res2single($res);
103 $sqlite
[all...]
H A Dcache.php44 $sqlite = $db_helper->getDB();
45 $cache->depends['files'][] = $sqlite->getAdapter()->getDbFile();
H A Dmigration.php34 if ($event->data['sqlite']->getAdapter()->getDbname() !== 'approve') {
54 protected function insertOrIgnore(helper_plugin_sqlite $sqlite, $table, $entry) { argument
59 return $sqlite->query($sql, array_values($entry));
64 /** @var helper_plugin_sqlite $sqlite */
65 $sqlite = $data['sqlite'];
66 $db = $sqlite->getAdapter()->getDb();
77 $sqlite->storeEntry('maintainer',[
84 $sqlite->storeEntry('maintainer',[
92 $sqlite
[all...]
H A Dmove.php30 $sqlite = $db_helper->getDB();
40 $sqlite->query('UPDATE revision SET page=? WHERE page=?', $new, $old);
H A Dnotification.php37 $sqlite = $db_helper->getDB();
38 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile();
H A Dprettyprint.php17 $sqlite = $db_helper->getDB();
28 if (!$helper->use_approve_here($sqlite, $INFO['id'], $approver)) return;
45 $res = $sqlite->query('SELECT ready_for_approval, ready_for_approval_by,
50 $approve = $sqlite->res_fetch_assoc($res);
H A Drevisions.php21 $sqlite = $db_helper->getDB();
29 if (!$helper->use_approve_here($sqlite, $INFO['id'])) return;
31 $res = $sqlite->query('SELECT rev, approved, ready_for_approval
34 $approve_revisions = $sqlite->res2arr($res);
/plugin/approve/
H A Dadmin.php36 $sqlite = $db_helper->getDB();
48 $sqlite->query('DELETE FROM maintainer WHERE id=?', $assignment['id']);
49 $helper->updatePagesAssignments($sqlite);
59 $sqlite->storeEntry('maintainer', $data);
61 $helper->updatePagesAssignments($sqlite);
80 $sqlite = $db_helper->getDB();
86 $res = $sqlite->query('SELECT * FROM maintainer ORDER BY namespace');
87 $assignments = $sqlite->res2arr($res);
H A Dhelper.php8 * @param helper_plugin_sqlite $sqlite
11 public function no_apr_namespace(helper_plugin_sqlite $sqlite) { argument
14 $res = $sqlite->query('SELECT value FROM config WHERE key=?', $key);
15 $no_apr_namespaces_db = $sqlite->res2single($res);
19 $sqlite->query('UPDATE config SET value=? WHERE key=?', $no_apr_namespaces_conf, $key);
21 $res = $sqlite->query('SELECT page, hidden FROM page');
22 $pages = $sqlite->res2arr($res);
26 $in_hidden_namespace = $this->in_hidden_namespace($sqlite, $id, $no_apr_namespaces_conf);
30 $sqlite->query('UPDATE page SET hidden=? WHERE page=?', $new_hidden, $id);
39 * @param helper_plugin_sqlite $sqlite
44 use_approve_here(helper_plugin_sqlite $sqlite, $id, & $approver = null) global() argument
63 find_last_approved(helper_plugin_sqlite $sqlite, $id) global() argument
75 get_hidden_namespaces_list(helper_plugin_sqlite $sqlite, $no_apr_namespaces = null) global() argument
95 in_hidden_namespace(helper_plugin_sqlite $sqlite, $id, $no_apr_namespaces = null) global() argument
110 weighted_assignments(helper_plugin_sqlite $sqlite) global() argument
139 isPageAssigned(helper_plugin_sqlite $sqlite, $id, & $pageApprover = null, $weighted_assignments = null) global() argument
173 updatePagesAssignments(helper_plugin_sqlite $sqlite) global() argument
[all...]
/plugin/approve/helper/
H A Ddb.php18 protected $sqlite; variable in helper_plugin_approve_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/approve/syntax/
H A Dtable.php
/plugin/bez/action/
H A Dmigration.php31 if ($event->data['sqlite']->getAdapter()->getDbName() !== 'b3p') {
46 /** @var helper_plugin_sqlite $sqlite */
47 $sqlite = $data['sqlite'];
58 $db = $sqlite->getAdapter()->getPdo();
79 /** @var helper_plugin_sqlite $sqlite */
80 $sqlite = $data['sqlite'];
91 $db = $sqlite->getAdapter()->getPdo();
113 * @param helper_plugin_sqlite $sqlite
[all...]
/plugin/bez/helper/
H A Ddb.php14 protected $sqlite;
29 /** @var helper_plugin_sqlite $sqlite */
30 $this->sqlite = plugin_load('helper', 'sqlite');
31 if(!$this->sqlite) {
32 if(defined('DOKU_UNITTEST')) throw new \Exception('Couldn\'t load sqlite.');
36 if($this->sqlite->getAdapter()->getName() != DOKU_EXT_PDO) {
37 if(defined('DOKU_UNITTEST')) throw new \Exception('Couldn\'t load PDO sqlite.');
38 $this->sqlite = null;
41 $this->sqlite
16 protected $sqlite; global() variable in helper_plugin_bez_db
[all...]
/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');

12345678