Home
last modified time | relevance | path

Searched refs:sqlite (Results 76 – 100 of 181) sorted by relevance

12345678

/plugin/data-au/
H A Daction.php50 $sqlite = $this->dthlp->_getDB();
51 if(!$sqlite) return;
55 $res = $sqlite->query('SELECT pid FROM pages WHERE page = ?',$id);
56 $pid = (int) $sqlite->res2single($res);
59 $sqlite->query('DELETE FROM dataau WHERE pid = ?',$pid);
60 $sqlite->query('DELETE FROM pages WHERE pid = ?',$pid);
/plugin/data/
H A Daction.php57 $sqlite = $this->dthlp->getDB();
58 if (!$sqlite) return;
62 $pid = (int) $sqlite->queryValue('SELECT pid FROM pages WHERE page = ?', $id);
65 $sqlite->exec('DELETE FROM data WHERE pid = ?', $pid);
66 $sqlite->exec('DELETE FROM pages WHERE pid = ?', $pid);
/plugin/structnotification/
H A Dadmin.php47 $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/bez/mdl/
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 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 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...]
/plugin/combo/ComboStrap/
H A DSqlite.php17 use dokuwiki\plugin\sqlite\SQLiteDB;
59 * @return Sqlite $sqlite
70 * @var Sqlite $sqlite
73 * sqlite is stored globally
75 * sqlite file.
83 * that you replicate using a new sqlite instance each time,
87 $sqlite = $executionContext->getRuntimeObject($sqliteExecutionObjectIdentifier);
89 $sqlite = null;
92 if ($sqlite !== null) {
93 $res = $sqlite
[all...]
/plugin/sqlite/
H A Dplugin.info.txt1 base sqlite
5 name sqlite plugin
7 url http://www.dokuwiki.org/plugin:sqlite
/plugin/bez/syntax/
H A Dqlink.php34 /** @var helper_plugin_sqlite $sqlite */
35 $sqlite = plugin_load('helper', 'bez_db')->getDB();
36 $res = $sqlite->query("SELECT thread_id FROM thread_comment WHERE id=?", $id);
48 /** @var helper_plugin_sqlite $sqlite */
49 $sqlite = plugin_load('helper', 'bez_db')->getDB();
50 $res = $sqlite->query("SELECT task_id FROM task_comment WHERE id=?", $id);
/plugin/approve/action/
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/struct/meta/
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 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 DAccessTablePage.php59 $ret = $this->sqlite->queryValue($sql, $opts);
82 $ok = $this->sqlite->query(
87 return $ok && $this->sqlite->query(
/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...]
/plugin/data-au/syntax/
H A Dentry.php210 $sqlite = $this->dthlp->_getDB();
211 if(!$sqlite) return false;
220 $sqlite->query("BEGIN TRANSACTION");
237 $pid = (int) $sqlite->res2single($res);
238 $sqlite->res_close($res);
242 $sqlite->query("ROLLBACK TRANSACTION");
247 $sqlite->query("DELETE FROM DATA WHERE pid = ?", $pid);
265 $sqlite->query("COMMIT TRANSACTION");
286 $sqlite = $this->dthlp->_getDB();
287 if(!$sqlite) return false;
[all …]
/plugin/issuelinks/
H A Drequirements.txt2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/acknowledge/
H A Drequirements.txt2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/watchcycle/
H A Daction.php126 /** @var \helper_plugin_sqlite $sqlite */
127 $sqlite = plugin_load('helper', 'watchcycle_db')->getDB();
128 if (!$sqlite) {
129 msg($this->getLang('error sqlite missing'), -1);
139 $res = $sqlite->query('SELECT * FROM watchcycle WHERE page=?', $page);
140 $row = $sqlite->res2row($res);
155 $sqlite->storeEntry('watchcycle', $entry);
181 $sqlite->query("UPDATE watchcycle SET $set WHERE page=?", $toupdate);
187 $sqlite->query('DELETE FROM watchcycle WHERE page=?', $page);
/plugin/podcast/
H A Dhelper.php8 $sqlite = $dthlp->_getDB();
9 if(!$sqlite) return false;
10 $res = $sqlite->query( 'SELECT
16 $rows = $sqlite->res2arr($res);
/plugin/404manager/
H A Drequirements.txt3 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
/plugin/fksnewsfeed/inc/ORM/
H A DServiceNews.php14 public function __construct(helper_plugin_sqlite $sqlite) { argument
15 parent::__construct($sqlite, 'news', ModelNews::class);
H A DServiceDependence.php13 public function __construct(helper_plugin_sqlite $sqlite) { argument
14 parent::__construct($sqlite, 'dependence', ModelDependence::class);
/plugin/data/syntax/
H A Dentry.php230 $sqlite = $this->dthlp->getDB();
231 if (!$sqlite) return false;
239 $sqlite->getPdo()->beginTransaction();
270 $sqlite->query("DELETE FROM DATA WHERE pid = ?", $pid);
292 $sqlite->getPdo()->commit();
294 $sqlite->getPdo()->rollBack();
320 $sqlite = $this->dthlp->getDB();
321 if (!$sqlite) return false;
323 return call_user_func_array(array(&$sqlite, 'query'), $args);
/plugin/structnotification/action/
H A Dnotification.php48 $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);

12345678