/plugin/acknowledge/ |
H A D | helper.php | 17 protected $db; 29 if ($this->db === null) { 31 $this->db = new SQLiteDB('acknowledgement', __DIR__ . '/db'); 34 $this->db->getPdo()->sqliteCreateFunction('AUTH_ISMEMBER', [$this, 'auth_isMember'], -1); 35 $this->db->getPdo()->sqliteCreateFunction('MATCHES_PAGE_PATTERN', [$this, 'matchPagePattern'], 2); 52 return $this->db; 79 $this->db->getPdo()->beginTransaction(); 85 $this->db->exec($sql, [$page, $lastmod]); 87 $this->db 16 protected $db; global() variable in helper_plugin_acknowledge [all...] |
/plugin/aichat/Storage/ |
H A D | SQLiteStorage.php | 26 protected $db; 36 $this->db = new SQLiteDB('aichat', DOKU_PLUGIN . 'aichat/db/'); 37 $this->db->getPdo()->sqliteCreateFunction('COSIM', $this->sqliteCosineSimilarityCallback(...), 2); 48 $record = $this->db->queryRecord('SELECT * FROM embeddings WHERE id = ?', [$chunkID]); 66 $this->db->exec('DELETE FROM embeddings'); 68 $this->db->exec('DELETE FROM clusters'); 81 $this->db->exec('DELETE FROM embeddings WHERE page = ?', [$page]); 88 $this->db->saveRecord('embeddings', [ 107 $this->db 18 protected $db; global() variable in dokuwiki\\plugin\\aichat\\Storage\\SQLiteStorage [all...] |
/plugin/amcharts/assets/amcharts/ |
H A D | amcharts.js | 177 …is.allBullets.push(Na);if(Na){var Zb=Na.getBBox(),$b=Zb.width,ac=Zb.height,db,eb,sb=f.totalTextOff… 178 …db=0>W?E-$b/2-2-fb-sb:E+$b/2+3+fb+sb):(db=wa,eb=0>W?F+ac/2+fb+sb:F-ac/2-3-fb-sb);Na.translate(db,e…
|
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/ |
H A D | jszip.min.js | 13 …db+1)),this.bl_tree=new C.Buf16(2*(2*eb+1)),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),th… 14 …db;case db:if(c.extra){for(zb=c.extra;zb>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.length+=m&(1…
|
/plugin/approve/action/ |
H A D | migration.php | 66 $db = $sqlite->getAdapter()->getDb(); 71 $db->beginTransaction(); 181 $db->commit();
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
H A D | PrivateKey.php | 230 $db = $ps . chr(1) . $salt; 232 $maskedDB = $db ^ $dbMask; 403 $db = $maskedDB ^ $dbMask; 404 $lHash2 = substr($db, 0, $this->hLen); 405 $m = substr($db, $this->hLen);
|
H A D | PublicKey.php | 257 $db = $maskedDB ^ $dbMask; 258 $db[0] = ~chr(0xFF << ($emBits & 7)) & $db[0]; 260 if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) { 263 $salt = substr($db, $temp + 1); // should be $sLen long 395 $db = $lHash . $ps . chr(1) . $m; 398 $maskedDB = $db ^ $dbMask;
|
/plugin/authjoomla3/ |
H A D | auth.php | 68 …('%s:dbname=%s;host=%s', $this->joomlaConfig->dbtype, $this->joomlaConfig->db, $this->joomlaConfig…
|
/plugin/authowncloud/ |
H A D | auth.php | 220 $db = OC_DB::prepare($sql); 221 $result = $db->execute($values); 314 …$db = OC_DB::prepare('SELECT `configvalue` FROM `*PREFIX*preferences` WHERE `userid` = ? AND `conf… 315 $result = $db->execute(array($user));
|
/plugin/authucenter/lib/api/ |
H A D | uc.php | 70 var $db = ''; variable in uc_note
|
/plugin/authucenter/lib/uc_client/control/ |
H A D | feed.php | 48 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."feeds SET appid='$appid', icon='$icon', uid='$uid',… 53 return $this->db->insert_id(); 60 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."feeds WHERE feedid>'$start' AND feedid<'$end'"); 67 …$feedlist = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."feeds ORDER BY feedid DESC LIMIT … 85 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."feeds WHERE feedid>='$start' AND feedid<='$end'");
|
H A D | user.php | 188 …$protectedmembers = $this->db->fetch_all("SELECT uid,username FROM ".UC_DBTABLEPRE."protectedmembe… 207 …$this->db->query("REPLACE INTO ".UC_DBTABLEPRE."protectedmembers SET uid='$uid', username='$userna… 209 return $this->db->errno() ? -1 : 1; 218 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."protectedmembers WHERE username='$username' AND app… 220 return $this->db->errno() ? -1 : 1; 234 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' … 241 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' …
|
/plugin/authucenter/lib/uc_client/model/ |
H A D | app.php | 14 var $db; variable in appmodel 23 $this->db = $base->db; 27 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
|
H A D | base.php | 29 var $db; variable in base 78 $this->db = new ucclient_db(); 79 $this->db->connect(UC_DBHOST, UC_DBUSER, UC_DBPW, '', UC_DBCHARSET, UC_DBCONNECT, UC_DBTABLEPRE); 127 $settings = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."settings $sqladd"); 206 …$noteexists = $this->db->result_first("SELECT value FROM ".UC_DBTABLEPRE."vars WHERE name='noteexi… 233 …$mailexists = $this->db->result_first("SELECT value FROM ".UC_DBTABLEPRE."vars WHERE name='mailexi…
|
H A D | cache.php | 22 var $db; variable in cachemodel 32 $this->db = $base->db; 69 $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."badwords");
|
H A D | domain.php | 14 var $db; variable in domainmodel 23 $this->db = $base->db; 28 $this->db->query("INSERT INTO ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip'"); 30 return $this->db->insert_id(); 34 $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."domains"); 40 $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."domains LIMIT $start, $ppp"); 46 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."domains WHERE id IN ($domainids)"); 47 return $this->db->affected_rows(); 51 $this->db->query("UPDATE ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip' WHERE id='$id'"); 52 return $this->db->affected_rows();
|
H A D | friend.php | 14 var $db; variable in friendmodel 23 $this->db = $base->db; 27 …$direction = $this->db->result_first("SELECT direction FROM ".UC_DBTABLEPRE."friends WHERE uid='$f… 29 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."friends SET uid='$uid', friendid='$friendid', comme… 30 …$this->db->query("UPDATE ".UC_DBTABLEPRE."friends SET direction='3' WHERE uid='$friendid' AND frie… 38 return $this->db->insert_id(); 44 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."friends WHERE uid='$uid' AND friendid IN ($friendid… 45 $affectedrows = $this->db->affected_rows(); 47 …$this->db->query("UPDATE ".UC_DBTABLEPRE."friends SET direction=1 WHERE uid IN ($friendids) AND fr… 63 …$totalnum = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."friends WHERE $sqladd"); [all …]
|
H A D | mail.php | 16 var $db; variable in mailmodel 26 $this->db = $base->db; 31 $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."mailqueue"); 49 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."mailqueue WHERE mailid IN ($ids)"); 50 return $this->db->affected_rows(); 66 $this->db->query($sql); 67 $insert_id = $this->db->insert_id(); 68 …$insert_id && $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='mailexists', value='1… 99 $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='mailexists', value='0'"); 140 return $this->db->query("DELETE FROM ".UC_DBTABLEPRE."mailqueue WHERE mailid='$mailid'"); [all …]
|
H A D | misc.php | 17 var $db; variable in miscmodel 26 $this->db = $base->db; 30 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
|
H A D | note.php | 20 var $db; variable in notemodel 32 $this->db = $base->db; 85 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."notelist SET getdata='$getdata', operation='$operat… 86 $insert_id = $this->db->insert_id(); 87 …$insert_id && $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars (name, value) VALUES ('noteexis… 100 …$this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='noteexists".UC_APPID."', value='0'"… 146 …$this->db->query("UPDATE ".UC_DBTABLEPRE."notelist SET app$appid='1', totalnum=totalnum+1, succeed… 149 …$this->db->query("UPDATE ".UC_DBTABLEPRE."notelist SET app$appid = app$appid-'1', totalnum=totalnu… 157 …$data = $this->db->fetch_first("SELECT * FROM ".UC_DBTABLEPRE."notelist WHERE closed='0' AND $app_… 162 …rand(0, UC_NOTE_GC) == 0 && $this->db->query("DELETE FROM ".UC_DBTABLEPRE."notelist WHERE closed='… [all …]
|
H A D | pm.php | 24 var $db; variable in pmmodel 32 $this->db = $base->db; 57 if($this->db->fetch_array($query)) { 240 $plid = $this->db->insert_id(); 242 $pmid = $this->db->insert_id(); 249 $pmid = $this->db->insert_id(); 266 $plid = $this->db->insert_id(); 268 $pmid = $this->db->insert_id(); 332 $pmid = $this->db->insert_id(); 486 $query = $this->db->query($sql); [all …]
|
H A D | tag.php | 14 var $db; variable in tagmodel 23 $this->db = $base->db; 27 $arr = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."tags WHERE tagname='$tagname'"); 32 …$result = $this->db->result_first("SELECT tagtemplates FROM ".UC_DBTABLEPRE."applications WHERE ap… 51 …$return = $this->db->result_first("SELECT count(*) FROM ".UC_DBTABLEPRE."tags WHERE tagname='$data… 53 …$this->db->query("UPDATE ".UC_DBTABLEPRE."tags SET data='$datanew', expiration='".$this->base->tim… 55 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."tags (tagname, appid, data, expiration) VALUES ('$d… 61 …$return = $this->db->result_first("SELECT count(*) FROM ".UC_DBTABLEPRE."tags WHERE tagname='$tagn… 63 …$this->db->query("UPDATE ".UC_DBTABLEPRE."tags SET expiration='0' WHERE tagname='$tagname' AND app… 65 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."tags (tagname, appid, expiration) VALUES ('$tagname…
|
H A D | user.php | 14 var $db; variable in usermodel 23 $this->db = $base->db; 27 $arr = $this->db->fetch_first("SELECT * FROM ".UC_DBTABLEPRE."members WHERE uid='$uid'"); 136 $uid = $this->db->insert_id(); 137 $this->db->query("INSERT INTO ".UC_DBTABLEPRE."memberfields SET uid='$uid'"); 166 return $this->db->affected_rows(); 185 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."members WHERE uid IN($uids)"); 190 return $this->db->affected_rows(); 212 while($user = $this->db->fetch_array($query)) { 221 while($user = $this->db->fetch_array($query)) { [all …]
|
/plugin/authwordpress/ |
H A D | auth.php | 62 * @var PDO $db 64 protected $db; variable in auth_plugin_authwordpress 217 $stmt = $this->db->prepare($sql); 242 * Initializes $db property as PDO object. 248 if ($this->db) { 265 $this->db = new PDO($dsn, $this->getConf('username'), $this->getConf('password')); 318 $stmt = $this->db->prepare($this->sql_wp_user_data);
|
/plugin/authyubikey/lib/ |
H A D | README | 58 https://github.com/Yubico/php-yubico/blob/master/example/db.sql[example/db.sql]
|