/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 …]
|
H A D | requirements.txt | 3 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/acknowledge/ |
H A D | helper.php | 7 use dokuwiki\plugin\sqlite\SQLiteDB; 39 msg($this->getLang('error sqlite plugin missing'), -1);
|
H A D | requirements.txt | 2 https://github.com/cosmocode/sqlite.git lib/plugins/sqlite
|
/plugin/addressbook/ |
H A D | README.md | 5 …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 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) {
|
H A D | plugin.info.txt | 6 desc Simple addressbook using the sqlite-plugin
|
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 …]
|
/plugin/addressbook/helper/ |
H A D | db.php | 18 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 D | SQLiteStorage.php | 9 use dokuwiki\plugin\sqlite\SQLiteDB;
|
/plugin/approve/action/ |
H A D | approve.php | 28 $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 D | cache.php | 44 $sqlite = $db_helper->getDB(); 45 $cache->depends['files'][] = $sqlite->getAdapter()->getDbFile();
|
H A D | migration.php | 34 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 D | move.php | 30 $sqlite = $db_helper->getDB(); 40 $sqlite->query('UPDATE revision SET page=? WHERE page=?', $new, $old);
|
H A D | notification.php | 37 $sqlite = $db_helper->getDB(); 38 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile();
|
H A D | prettyprint.php | 17 $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 D | revisions.php | 21 $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 D | admin.php | 36 $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 D | helper.php | 8 * @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 D | db.php | 18 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 D | table.php |
|
/plugin/bez/action/ |
H A D | migration.php | 31 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 D | db.php | 14 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 D | Authentication_tokenFactory.php | 14 $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 D | Factory.php | 223 $this->model->sqlite->query('BEGIN TRANSACTION'); 227 $this->model->sqlite->query('COMMIT TRANSACTION'); 231 $this->model->sqlite->query('ROLLBACK');
|