/plugin/notification/helper/ |
H A D | cron.php | 11 protected $sqlite; variable in helper_plugin_notification_cron 17 $this->sqlite = $db_helper->getDB(); 25 $res = $this->sqlite->query('SELECT user from cron_check'); 26 $ourUsers = $this->sqlite->res2arr($res); 39 $this->sqlite->storeEntry('cron_check',
|
/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);
|
/plugin/bez/mdl/ |
H A D | Thread.php | 158 $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...] |
/plugin/bez/struct/ |
H A D | BezType.php | 46 /** @var helper_plugin_sqlite $sqlite */ 47 $sqlite = plugin_load('helper', 'bez_db')->getDB(); 48 $res = $sqlite->query("SELECT thread_id FROM thread_comment WHERE id=?", $id); 60 /** @var helper_plugin_sqlite $sqlite */ 61 $sqlite = plugin_load('helper', 'bez_db')->getDB(); 62 $res = $sqlite->query("SELECT task_id FROM task_comment WHERE id=?", $id); 94 /** @var helper_plugin_sqlite $sqlite */ 95 $sqlite = plugin_load('helper', 'bez_db')->getDB(); 96 $res = $sqlite->query("SELECT COUNT(*) FROM $table WHERE id=?", $id); 132 /** @var helper_plugin_sqlite $sqlite */ [all...] |
/plugin/git/ |
H A D | helper.php | 38 var $sqlite = null; variable in helper_plugin_git 118 $this->sqlite->query($sql); 129 $rows = $this->sqlite->res2arr($res); 144 $this->sqlite->query($sql); 436 if ($this->sqlite) return true; 439 if (is_null($this->sqlite)) { 459 $res = $this->sqlite->query($sql); 478 $res = $this->sqlite->query($sql); 494 $res = $this->sqlite->query($sql); 512 $res = $this->sqlite->query($sql); [all …]
|
/plugin/ireadit/ |
H A D | helper.php | 120 $sqlite = $db_helper->getDB(); 126 $res = $sqlite->query('SELECT user, timestamp FROM ireadit 130 $readers = $sqlite->res2arr($res); 143 $sqlite = $db_helper->getDB(); 167 …$res = $sqlite->query('SELECT page, MAX(rev) as "rev", timestamp FROM ireadit WHERE user=? GROUP B… 170 … $res = $sqlite->query('SELECT page, MAX(rev) as "rev", timestamp FROM ireadit GROUP BY page'); 172 while ($row = $sqlite->res_fetch_assoc($res)) { 193 …$res = $sqlite->query('SELECT rev, timestamp FROM ireadit WHERE user=? AND page=? ORDER BY rev DES… 196 … $res = $sqlite->query('SELECT rev, timestamp FROM ireadit WHERE page=? ORDER BY rev DESC', $page); 198 $user_reads = $sqlite->res2arr($res);
|
/plugin/notification/action/ |
H A D | cron.php | 45 $sqlite = $db_helper->getDB(); 54 $res = $sqlite->query('SELECT user, MIN(timestamp) FROM cron_check'); 55 $user = $sqlite->res2single($res); 60 $sqlite->query('UPDATE cron_check SET timestamp=? WHERE user=?', date('c'), $user); 83 … $res = $sqlite->query('SELECT plugin, notification_id FROM notification WHERE user=?', $user); 84 $sent_notifications = $sqlite->res2arr($res); 140 $sqlite->storeEntry('notification',
|
/plugin/randomtables/helper/ |
H A D | helper.php | 12 /** @var helper_plugin_sqlite $sqlite */ 13 $sqlite = plugin_load('helper', 'sqlite'); 15 if(!$sqlite){ 16 msg('This plugin requires the sqlite plugin. Please install it', -1); 20 if(!$sqlite->init('randomtables', DOKU_PLUGIN . 'randomtables/db/')){ 24 return $sqlite;
|
/plugin/fksnewsfeed/inc/ORM/ |
H A D | AbstractModel.php | 13 protected helper_plugin_sqlite $sqlite; variable in FYKOS\\dokuwiki\\Extension\\PluginNewsFeed\\Model\\AbstractModel 15 public function __construct(helper_plugin_sqlite $sqlite) { argument 16 $this->sqlite = $sqlite;
|
H A D | ServiceStream.php | 13 public function __construct(helper_plugin_sqlite $sqlite) { argument 14 parent::__construct($sqlite, 'stream', ModelStream::class); 18 $res = $this->sqlite->query('SELECT * FROM ' . $this->table . ' WHERE name=?', $name); 19 return ($this->modelClassName)::createFromArray($this->sqlite, $res->fetch());
|
H A D | ServicePriority.php | 16 public function __construct(helper_plugin_sqlite $sqlite) { argument 17 parent::__construct($sqlite, 'priority', ModelPriority::class); 21 …$res = $this->sqlite->query('SELECT * FROM ? WHERE stream_id=? AND news_id =?', $this->table, $str… 22 return $res ? ($this->modelClassName)::createFromArray($this->sqlite, $res) : null;
|
/plugin/404manager/ |
H A D | admin.php | 63 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 …]
|
/plugin/combo/ComboStrap/ |
H A D | SqliteResult.php | 15 private $sqlite; 24 public function __construct(SqliteRequest $sqlite, $res) 26 $this->sqlite = $sqlite; 28 $this->sqlitePlugin = $this->sqlite->getSqliteConnection()->getSqlitePlugin(); 58 * /home/runner/work/combo/combo/lib/plugins/sqlite/classes/adapter_pdosqlite.php:125 13 private $sqlite; global() variable in ComboStrap\\SqliteResult 22 __construct(SqliteRequest $sqlite, $res) global() argument
|
H A D | SqliteRequest.php | 20 private $sqlite; 53 * @param Sqlite $sqlite 55 public function __construct(Sqlite $sqlite) 57 $this->sqlite = $sqlite; 58 $this->sqlitePlugin = $sqlite->getSqlitePlugin(); 151 return $this->sqlite; 12 private $sqlite; global() variable in ComboStrap\\SqliteRequest 45 __construct(Sqlite $sqlite) global() argument
|
/plugin/addressbook/ |
H A D | syntax.php | 379 $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 …]
|
H A D | action.php | 64 $sqlite = $db_helper->getDB(); 76 $query = $sqlite->query($sql); 77 $res = $sqlite->res2arr($query); 79 if ($sqlite->res2count($sqlite->query($sql)) == 0) {
|
/plugin/ireadit/action/ |
H A D | ireadit.php | 45 $sqlite = $db_helper->getDB(); 51 $res = $sqlite->query('SELECT user, timestamp FROM ireadit 55 $readers = $sqlite->res2arr($res); 98 $sqlite = $db_helper->getDB(); 103 $sqlite->storeEntry('ireadit', [ 124 $sqlite = $db_helper->getDB(); 129 $sqlite->query('INSERT INTO ireadit (page,rev,user,timestamp)
|
/plugin/data-au/syntax/ |
H A D | cloud.php | 73 $sqlite = $this->dthlp->_getDB(); 74 if(!$sqlite) return false; 98 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col); 110 WHERE dataau.key = " . $sqlite->quote_string($ckey) . " 140 $sqlite = $this->dthlp->_getDB(); 141 if(!$sqlite) return false; 153 $res = $sqlite->query($dataau['sql']); 154 $rows = $sqlite->res2arr($res);
|
/plugin/data/syntax/ |
H A D | cloud.php | 85 $sqlite = $this->dthlp->getDB(); 86 if (!$sqlite) return false; 107 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->getPdo()->quote($col); 119 WHERE data.key = " . $sqlite->getPdo()->quote($ckey) . " 155 $sqlite = $this->dthlp->getDB(); 156 if (!$sqlite) return false; 168 $rows = $sqlite->queryAll($data['sql']);
|
/plugin/structpublish/helper/ |
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/sqlite/ |
H A D | README | 6 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
|
/plugin/approve/action/ |
H A D | notification.php | 37 $sqlite = $db_helper->getDB(); 38 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile();
|
/plugin/datatemplate/syntax/inc/ |
H A D | cache.php | 40 $sqlite = $dtlist->dthlp->_getDB(); 55 $res = $sqlite->query($sqlcc); 56 $pageids = $sqlite->res2arr($res, $assoc = false); 74 $res = $sqlite->query($sql); 75 $rows = $sqlite->res2arr($res, $assoc = false);
|
/plugin/datapopup/ |
H A D | action.php | 35 $sqlite = $this->dthlp->_getDB(); 36 … if(!$sqlite) return "The datapopup had an error retrieving the SQLite plugin. Please report."; 38 $res = $sqlite->query($query); 39 $rows = $sqlite->res2arr($res);
|
/plugin/telleveryone/action/ |
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);
|