/plugin/fksnewsfeed/inc/ORM/ |
H A D | AbstractService.php | 18 protected helper_plugin_sqlite $sqlite; variable in FYKOS\\dokuwiki\\Extension\\PluginNewsFeed\\ORM\\AbstractService 20 … public function __construct(helper_plugin_sqlite $sqlite, string $table, string $modelClassName) { argument 22 $this->sqlite = $sqlite; 29 return ($this->modelClassName)::createFromArray($this->sqlite, $res); 37 return (bool)$this->sqlite->query($sql, 46 $this->sqlite->query($sql, 55 $res = $this->sqlite->query('SELECT max(' . $this->table . '_id) FROM ?', $this->table); 56 return (int)$this->sqlite->res2single($res); 61 $res = $this->sqlite->query('SELECT * FROM ?', $this->table); 62 foreach ($this->sqlite->res2arr($res) as $row) { [all …]
|
H A D | ModelPriority.php | 33 …$res = $this->sqlite->query('DELETE FROM priority WHERE stream_id=? AND news_id =?', $this->stream… 34 return $this->sqlite->res2arr($res);
|
H A D | ModelStream.php | 23 …$res = $this->sqlite->query('SELECT * FROM priority o JOIN news n ON o.news_id=n.news_id WHERE str… 25 $ars = $this->sqlite->res2arr($res); 27 $service = new ServiceNews($this->sqlite); 29 $priority = ModelPriority::createFromArray($this->sqlite, $ar); 57 $res = $this->sqlite->query('SELECT * FROM dependence WHERE parent=?', $this->streamId); 58 $service = new ServiceStream($this->sqlite); 59 foreach ($this->sqlite->res2arr($res) as $row) { 70 $res = $this->sqlite->query('SELECT * FROM dependence WHERE child=?', $this->streamId); 71 $service = new ServiceStream($this->sqlite); 72 foreach ($this->sqlite->res2arr($res) as $row) {
|
H A D | ServiceNews.php | 14 public function __construct(helper_plugin_sqlite $sqlite) { argument 15 parent::__construct($sqlite, 'news', ModelNews::class);
|
H A D | ServiceDependence.php | 13 public function __construct(helper_plugin_sqlite $sqlite) { argument 14 parent::__construct($sqlite, 'dependence', ModelDependence::class);
|
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;
|
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());
|
/plugin/fksnewsfeed/ |
H A D | action.php | 251 $data = new ModelNews($this->helper->sqlite);
|
/plugin/extendpage/helper/ |
H A D | db.php | 14 protected $sqlite; variable in helper_plugin_extendpage_db 32 $this->sqlite = plugin_load('helper', 'sqlite'); 33 if (!$this->sqlite) { 38 if ($this->sqlite->getAdapter() === null) { 40 $this->sqlite = null; 46 $this->sqlite = null; 54 $this->sqlite = null; 67 …if ($this->sqlite && $conf['metadir'] != substr($this->sqlite->getAdapter()->getDbFile(), 0, $len)… 70 if (!$this->sqlite && $throw) { 73 return $this->sqlite; [all …]
|
/plugin/extendpage/meta/ |
H A D | Assignments.php | 18 protected $sqlite; variable in dokuwiki\\plugin\\extendpage\\meta\\Assignments 50 $this->sqlite = $helper->getDB(); 61 $res = $this->sqlite->query($sql); 63 $this->sqlite->res_close($res); 80 $res = $this->sqlite->query($sql); 107 $res = $this->sqlite->query($sql, $id); 108 $pagerows = $this->sqlite->res2arr($res); 109 $this->sqlite->res_close($res); 133 $ok = (bool) $this->sqlite->query($sql); 216 $this->sqlite->res_close($res); [all …]
|
/plugin/webdav/vendor/sabre/dav/ |
H A D | CHANGELOG.md | 835 * Fixed: #456: Issue in sqlite migration script. 1983 * Added: Example sql for auth, caldav, locks for sqlite.
|
/plugin/codemirror/dist/modes/ |
H A D | sql.min.js.map | 1 …sqlite.org/lang_keywords.html\n var ch;\n while ((ch = stream.next()) != null) {\n if (…
|
/plugin/issuelinks/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/issuelinks/helper/ |
H A D | db.php | 46 $sqlite = plugin_load('helper', 'sqlite'); 47 if (!$sqlite) { 52 if ($sqlite->getAdapter()->getName() !== DOKU_EXT_PDO) { 58 $sqlite->getAdapter()->setUseNativeAlter(true); 61 if (!$sqlite->init('issuelinks', DOKU_PLUGIN . 'issuelinks/db/')) { 65 $this->db = $sqlite;
|
/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);
|
H A D | api.php | 10 $sqlite = $db_helper->getDB(); variable 16 $res = $sqlite->query("SELECT value FROM config WHERE key='token'"); 17 if ($sqlite->res2single($res) != $INPUT->str('token')) { 22 $res = $sqlite->query('SELECT id, timestamp, user, message_html FROM log 24 $arr = $sqlite->res2arr($res);
|
/plugin/telleveryone/helper/ |
H A D | db.php | 18 protected $sqlite; variable in helper_plugin_telleveryone_db 36 $this->sqlite = plugin_load('helper', 'sqlite'); 37 if (!$this->sqlite) { 48 $this->sqlite = null; 51 $this->sqlite->getAdapter()->setUseNativeAlter(true); 58 $this->sqlite = null; 72 …if ($this->sqlite && $conf['metadir'] != substr($this->sqlite->getAdapter()->getDbFile(), 0, $len)… 75 if(!$this->sqlite && $throw) { 78 return $this->sqlite; 88 if (!$this->sqlite) { [all …]
|
/plugin/telleveryone/action/ |
H A D | migration.php | 49 $sqlite = $data['sqlite']; 52 $sqlite->storeEntry('config', [
|
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);
|
/plugin/webdavclient/ |
H A D | helper.php | 161 if(!$sqlite) 179 if(!$sqlite) 197 if(!$sqlite) 214 if(!$sqlite) 252 if(!$sqlite) 368 if(!$sqlite) 420 if(!$sqlite) 458 if(!$sqlite) 477 if(!$sqlite) 494 if(!$sqlite) [all …]
|
/plugin/data-au/ |
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/data-au/syntax/ |
H A D | entry.php | 210 $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 …]
|
H A D | related.php | 36 $sqlite = $this->dthlp->_getDB(); 37 if(!$sqlite) return false; 42 $res = $sqlite->query($dataau['sql']); 43 if(!$sqlite->res2count($res)) return true; // no rows matched 44 $rows = $sqlite->res2arr($res); 75 $sqlite = $this->dthlp->_getDB(); 76 if(!$sqlite) return false; 88 $res = $sqlite->query($sql, $col, $id); 89 while($value = $sqlite->res_fetch_assoc($res)) { 95 $cond[] = " ( T1.key = " . $sqlite->quote_string($col) . [all …]
|
/plugin/data-au/_test/ |
H A D | action_edit_button.test.php | 8 protected $pluginsEnabled = array('dataau, 'sqlite');
|
H A D | action_handle.test.php | 8 protected $pluginsEnabled = array('dataau, 'sqlite');
|