Home
last modified time | relevance | path

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

12345678

/plugin/acknowledge/
H A Dhelper.php7 use dokuwiki\plugin\sqlite\SQLiteDB;
39 msg($this->getLang('error sqlite plugin missing'), -1);
/plugin/rating/
H A Dhelper.php15 protected $sqlite = null; variable in helper_plugin_rating
23 if(!is_null($this->sqlite)) return $this->sqlite;
26 if(!$this->sqlite) {
28 $this->sqlite = null;
35 $this->sqlite = null;
39 return $this->sqlite;
61 if(!$sqlite) return;
66 $sqlite->res_close($res);
71 $sqlite->res_close($res);
93 if(!$sqlite) return;
[all …]
/plugin/timetrack/
H A Dhelper.php64 $sqlite = $this->getDb();
65 if(!$sqlite) return false;
69 $sqlite->res_close($res);
76 $sqlite->res_close($res);
89 $sqlite = $this->getDb();
117 $sqlite = $this->getDb();
130 $sqlite->res_close($res);
155 $sqlite = $this->getDb();
161 $sqlite->res_close($res);
181 $sqlite = $this->getDb();
[all …]
/plugin/approve/
H A Dhelper.php11 no_apr_namespace(helper_plugin_sqlite $sqlite) global() argument
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
/plugin/top/
H A Dhelper.php12 protected $sqlite = null;
16 $this->sqlite = plugin_load('helper', 'sqlite');
17 if (!$this->sqlite) {
18 msg('The top plugin requires the sqlite plugin', -1);
22 if (!$this->sqlite->init('top', __DIR__ . '/db')) {
23 msg('top plugin: sqlite initialization failed', -1);
34 return $this->sqlite;
62 $res = $this->sqlite->query($sql, $page, $page, $month, $lang, $month);
63 $this->sqlite
15 protected $sqlite = null; global() variable in helper_plugin_top
[all...]
/plugin/extendpage/helper/
H A Ddb.php14 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/watchcycle/helper/
H A Ddb.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
18 protected $sqlite; variable in helper_plugin_watchcycle_db
32 $this->sqlite = new SQLiteDB('watchcycle', DOKU_PLUGIN . 'watchcycle/db/');
35 $this->sqlite->getPdo()->sqliteCreateFunction('DAYS_AGO', [$helper, 'daysAgo'], 1);
39 * @param bool $throw throw an Exception when sqlite not available or fails to load
45 return $this->sqlite;
79 return $this->sqlite->queryAll($q, $q_args);
/plugin/struct/action/
H A Dmigration.php6 use dokuwiki\plugin\sqlite\SQLiteDB;
53 * @param SQLiteDB $sqlite
56 protected function migration12($sqlite)
60 $tables = $sqlite->queryAll($sql);
65 $sqlite->query($sql);
76 * @param SQLiteDB $sqlite
79 protected function migration16($sqlite)
85 $tables = $sqlite->queryAll($sql);
91 $schemas = $sqlite->queryAll($sql);
101 $ok = $ok && $sqlite
52 migration12($sqlite) global() argument
74 migration16($sqlite) global() argument
232 migration17($sqlite) global() argument
306 migration18($sqlite) global() argument
323 migration19($sqlite) global() argument
[all...]
/plugin/structnotification/helper/
H A Ddb.php18 protected $sqlite; variable in helper_plugin_structnotification_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/notification/helper/
H A Ddb.php14 protected $sqlite;
31 $this->sqlite = plugin_load('helper', 'sqlite');
32 if (!$this->sqlite) {
34 throw new \Exception('Couldn\'t load sqlite.');
39 if ($this->sqlite->getAdapter()->getName() != DOKU_EXT_PDO) {
41 throw new \Exception('Couldn\'t load PDO sqlite.');
43 $this->sqlite = null;
46 $this->sqlite->getAdapter()->setUseNativeAlter(true);
49 if (!$this->sqlite
18 protected $sqlite; global() variable in helper_plugin_notification_db
[all...]
/plugin/davcal/
H A Dhelper.php13 protected $sqlite = null; variable in helper_plugin_davcal
300 if(!$sqlite)
348 if(!$sqlite)
368 if(!$sqlite)
391 if(!$sqlite)
414 if(!$sqlite)
448 if(!$sqlite)
502 if(!$sqlite)
537 if(!$sqlite)
687 if(!$sqlite)
[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/telleveryone/helper/
H A Ddb.php18 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/ireadit/helper/
H A Ddb.php18 protected $sqlite; variable in helper_plugin_ireadit_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/helper/
H A Ddb.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
18 protected $sqlite; global() variable in helper_plugin_approve_db
/plugin/approve/action/
H A Dapprove.php
/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/structstatus/
H A Daction.php3 use dokuwiki\plugin\sqlite\SQLiteDB;
45 $sqlite = $helper->getDB();
64 $schemas= $sqlite->queryAll($sql);
66 $sqlite->getPdo()->beginTransaction();
78 $sqlite->query($sql);
80 $sqlite->getPdo()->commit();
82 $sqlite->getPdo()->rollBack();
106 * @param SQLiteDB $sqlite
116 $cols = $sqlite->queryAll($s);
135 * @param SQLiteDB $sqlite
[all …]
/plugin/extendpage/meta/
H A DAssignments.php18 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/ireadit/action/
H A Dmigration.php36 if ($event->data['sqlite']->getAdapter()->getDbname() !== 'ireadit') {
56 protected function insertOrIgnore(helper_plugin_sqlite $sqlite, $table, $entry) { argument
61 return $sqlite->query($sql, array_values($entry));
89 /** @var helper_plugin_sqlite $sqlite */
90 $sqlite = $data['sqlite'];
96 $sqlite->query('DELETE FROM ireadit WHERE timestamp IS NULL');
98 $res = $sqlite->query('SELECT page,meta FROM meta');
99 while ($row = $sqlite->res_fetch_assoc($res)) {
107 $res2 = $sqlite
[all...]
/plugin/struct/helper/
H A Ddb.php12 use dokuwiki\plugin\sqlite\SQLiteDB;
18 protected $sqlite;
27 $this->sqlite = new SQLiteDB('struct', DOKU_PLUGIN . 'struct/db/');
30 $this->sqlite->getPdo()->sqliteCreateFunction('STRUCT_JSON', [$this, 'STRUCT_JSON'], -1);
33 $this->sqlite->getPdo()->sqliteCreateFunction('STRUCT_LOOKUP', [$this, 'STRUCT_LOOKUP'], -1);
36 $this->sqlite->getPdo()->sqliteCreateFunction('IS_PUBLISHER', [$this, 'IS_PUBLISHER'], -1);
40 * @param bool $throw throw an Exception when sqlite not available or fails to load
46 if (!$this->sqlite instanceof SQLiteDB) {
48 if ($throw || defined('DOKU_UNITTEST')) throw new StructException('no sqlite');
60 return $this->sqlite;
16 protected $sqlite; global() variable in helper_plugin_struct_db
[all...]
/plugin/fksnewsfeed/inc/ORM/
H A DAbstractService.php18 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 …]
/plugin/davcard/
H A Dhelper.php14 protected $sqlite = null; variable in helper_plugin_davcard
32 if(!$this->sqlite)
45 return $this->sqlite;
148 if(!$sqlite)
261 if(!$sqlite)
301 if(!$sqlite)
326 if(!$sqlite)
370 if(!$sqlite)
429 if(!$sqlite)
749 if(!$sqlite)
[all …]
/plugin/structpublish/action/
H A Dmigration.php3 use dokuwiki\plugin\sqlite\Tools;
22 * so we cannot use the mechanism in sqlite init()
39 $sqlite = $helper->getDB();
41 list($dbVersionStruct, $dbVersionStructpublish) = $this->getDbVersions($sqlite);
67 $ok = $ok && $this->$call($sqlite);
73 $ok = $ok && $sqlite->query($sql);
82 * @param \dokuwiki\plugin\sqlite\SQLiteDB $sqlite
85 protected function getDbVersions($sqlite)
91 $vals = $sqlite
83 getDbVersions($sqlite) global() argument
116 migration1($sqlite) global() argument
141 migration2($sqlite) global() argument
[all...]
/plugin/structpublish/meta/
H A DAssignments.php5 use dokuwiki\plugin\sqlite\SQLiteDB;
18 protected $sqlite; variable in dokuwiki\\plugin\\structpublish\\meta\\Assignments
50 $this->sqlite = $helper->getDB();
61 $this->patterns = $this->sqlite->queryAll($sql);
76 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]);
88 $this->sqlite->query('BEGIN TRANSACTION');
94 $ok = $ok && $this->sqlite->query('COMMIT TRANSACTION');
96 $this->sqlite->query('ROLLBACK TRANSACTION');
114 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]);
121 $pagerows = $this->sqlite
[all...]

12345678