/plugin/database2/ |
H A D | admin.php | 29 protected $db; variable in admin_plugin_database2 241 $result = $db->getLink()->query( $query ); 254 echo $db->__renderTable( null, $cols, $rows, 289 if ( !( $this->db instanceof Database2_Admin ) ) 294 $db = new Database2_Admin( $this ); 300 if ( $db->connect( $dbFile ) ) 301 $this->db = $db; 305 return $this->db;
|
H A D | media.php | 219 $db = new Database2_media( $dsn, $authSlot, $table, $ioIndex, $pageID ); variable 225 $data = $db->printTable(); 227 $title = sprintf( $db->getLang( 'printtitle' ), $table ); 252 $meta = $db->getColumnsMeta(); 259 $rows = $db->__recordsList( $cols ); 267 $data = $db->__csvLine( $header ); 271 $data .= $db->__csvLine( $row ); 282 …$st = $db->getLink()->prepare( 'SELECT rowid,action,username,ctime FROM __log WHERE tablename=? OR… 298 $data = $db->__csvLine( array_keys( array_shift( array_slice( $rows, 0, 1 ) ) ) ); 306 $data .= $db->__csvLine( $row ); [all …]
|
/plugin/authucenter/lib/uc_client/model/ |
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 | 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 | cache.php | 22 var $db; variable in cachemodel 32 $this->db = $base->db; 69 $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."badwords");
|
/plugin/crossdbsqlclient/syntax/ |
H A D | dbwrapper.php | 66 mysqli_autocommit ( $db, TRUE ); 70 if (! $db) { 76 $result = $db->store_result (); 92 $err = mysqli_errno ( $db ); 97 if ($db->more_results ()) { 107 if ($db) { 108 $db->close (); 126 $db = pg_connect ( $url ); 131 if (! $db) { 164 if ($db) { [all …]
|
/plugin/sphinxsearch-was/ |
H A D | PageMapper.php | 23 if (false != ($db = new PDO("sqlite:" . $this->_dbpath))) { 24 $q = @$db->query("SELECT 1 FROM {$this->_table} limit 1"); 26 …$result = $db->query("CREATE TABLE {$this->_table} ( page varchar(1024), page_crc int(11), hid var… 29 print_r($db->errorInfo()); 35 print_r($db->errorInfo()); 38 $this->_db = $db;
|
/plugin/sphinxsearch/ |
H A D | PageMapper.php | 23 if (false != ($db = new PDO("sqlite:".$this->_dbpath))) { 24 $q = @$db->query("SELECT 1 FROM {$this->_table} limit 1"); 26 …$result = $db->query("CREATE TABLE {$this->_table} ( page varchar(1024), page_crc int(11), hid var… 29 print_r($db->errorInfo()); 36 print_r($db->errorInfo()); 39 $this->_db = $db;
|
/plugin/quickstats/db/ |
H A D | php-local-browscap.php | 65 function get_browser_local($user_agent=null,$return_array=false,$db='./browscap.ini',$cache=false) argument 71 if ((!isset($browscapIni))||(!$cache)||($browscapPath!==$db)) 73 …wscapIni=defined('INI_SCANNER_RAW') ? parse_ini_file($db,true,INI_SCANNER_RAW) : parse_ini_file($d… 74 $browscapPath=$db;
|
/plugin/judge/ |
H A D | action.php | 213 $db = new SQLite3(DBFILE); 215 $db->exec($query); 217 $db->exec($query); 259 $db = new SQLite3(DBFILE); 260 $db->exec($query); 261 $id = $db->lastInsertRowID(); 263 $row_number = $db->querySingle($result_id_query); 275 $db->exec($test_case_query); 316 $db = new SQLite3(DBFILE); 318 $id = $db->exec($query);
|
/plugin/geonav/server/ |
H A D | getContinent.php | 17 $db = sqlite_open('../db/test.sqlite', 0666, $error); 18 if (!$db) { 24 $result = sqlite_query($db, $query); 30 sqlite_close($db);
|
H A D | get_state.php | 23 $db = sqlite_open('../db/'.$tempdb.'.sqlite', 0666, $error); variable 24 if (!$db) { 29 $result = sqlite_query($db, $query); 35 sqlite_close($db);
|
/plugin/data-au/ |
H A D | helper.php | 20 protected $db = null; variable in helper_plugin_dataau 84 if($this->db === null) { 85 $this->db = plugin_load('helper', 'sqlite'); 86 if($this->db === null) { 90 if(!$this->db->init('dataau', dirname(__FILE__) . '/db/')) { 91 $this->db = null; 94 $this->db->create_function('DATARESOLVE', array($this, '_resolveData'), 2); 96 return $this->db;
|
/plugin/data/ |
H A D | helper.php | 21 protected $db; 90 if ($this->db === null) { 92 $this->db = new SQLiteDB('data', __DIR__ . '/db/'); 93 $this->db->getPdo()->sqliteCreateFunction('DATARESOLVE', [$this, 'resolveData'], 2); 101 return $this->db; 238 //multivalued line from db result for pageid and wiki has only in first value the ID 15 protected $db = null; global() variable in helper_plugin_data
|
/plugin/issuelinks/services/ |
H A D | GitLab.service.php | 29 $db = plugin_load('helper', 'issuelinks_db'); 30 $gitLabUrl = $db->getKeyValue('gitlab_url'); 32 $authToken = $db->getKeyValue('gitlab_token'); 169 $db = plugin_load('helper', 'issuelinks_db'); 171 $db->saveKeyValuePair('gitlab_token', $token); 174 $db->saveKeyValuePair('gitlab_url', $url); 249 $db = plugin_load('helper', 'issuelinks_db'); 262 $db = plugin_load('helper', 'issuelinks_db'); 323 $db->saveIssueIssues($issue, $issues); 450 $db->saveIssueIssues($issue, $issues); [all …]
|
H A D | GitHub.service.php | 87 $db = plugin_load('helper', 'issuelinks_db'); 88 $authToken = $db->getKeyValue('github_token'); 182 $db = plugin_load('helper', 'issuelinks_db'); 183 $authToken = $db->getKeyValue('github_token'); 216 $db = plugin_load('helper', 'issuelinks_db'); 217 $db->saveKeyValuePair('github_token', $token); 264 $db = plugin_load('helper', 'issuelinks_db'); 294 $db = plugin_load('helper', 'issuelinks_db'); 334 $db = plugin_load('helper', 'issuelinks_db'); 472 $db = plugin_load('helper', 'issuelinks_db'); [all …]
|
/plugin/data-au/_test/ |
H A D | helperAliases.test.php | 12 $db = $helper->_getDB(); 13 $this->assertTrue($db !== false); 14 $db->query("INSERT INTO aliases (name, type, prefix, postfix, enum) VALUES (?,?,?,?,?)",
|
/plugin/data/_test/ |
H A D | helperAliases.test.php |
|
/plugin/ireadit/action/ |
H A D | migration.php | 91 $db = $sqlite->getAdapter()->getDb(); 127 $db = $sqlite->getAdapter()->getDb(); 148 $db = $sqlite->getAdapter()->getDb(); 171 $db->beginTransaction(); 183 $db->commit(); 194 $db = $sqlite->getAdapter()->getDb(); 216 $db->beginTransaction(); 269 $db->commit();
|
/plugin/sqlraw/ |
H A D | syntax.php | 100 global $db; 145 $db =& DB::connect($tempdb); 146 if (DB::isError($db)) { 147 $error = $db->getMessage(); 169 if (!empty($db)) { 185 if (!empty($db)) { 188 $result =& $db->getAll($query); 192 $db->disconnect(); 765 $db->disconnect(); 785 global $db; [all …]
|
/plugin/pdb/classes/ |
H A D | _NCBI.php | 26 function SummaryXml($db,$id){ argument 27 $url = sprintf($this->eSummaryURL,urlencode($db),urlencode($id)); 36 function SearchXml($db,$term){ argument 37 $result = $this->HttpClient->get(sprintf($this->eSearchURL,urlencode($db),urlencode($term)));
|
/plugin/pubchem/classes/ |
H A D | _NCBI.php | 18 $this->eSummaryURL = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=%s&retmode=xml&id=%s'; 19 $this->eSearchURL = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=%s&term=%s'; 26 function SummaryXml($db,$id){ argument 27 $url = sprintf($this->eSummaryURL,urlencode($db),urlencode($id)); 36 function SearchXml($db,$term){ argument 37 $result = $this->HttpClient->get(sprintf($this->eSearchURL,urlencode($db),urlencode($term)));
|
/plugin/pubmed/classes/ |
H A D | _NCBI.php | 18 $this->eSummaryURL = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=%s&retmode=xml&id=%s'; 19 $this->eSearchURL = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=%s&term=%s'; 26 function SummaryXml($db,$id){ argument 27 $url = sprintf($this->eSummaryURL,urlencode($db),urlencode($id)); 36 function SearchXml($db,$term){ argument 37 $result = $this->HttpClient->get(sprintf($this->eSearchURL,urlencode($db),urlencode($term)));
|
/plugin/bibtex/OSBib/format/ |
H A D | BIBSTYLE.php | 30 function BIBSTYLE($db, $output) argument 32 $this->db = $db; 228 $recordset = $this->db->select(array("WKX_creator"), array("surname", "firstname", 230 " WHERE FIND_IN_SET(" . $this->db->formatField("id") . ", " . 231 $this->db->tidyInput($this->row[$nameType]) . ")"); 232 $numNames = $this->db->numRows($recordset); 236 while($row = $this->db->loopRecordSet($recordset)) 248 new CLOSE($this->db, $error);
|
/plugin/randomtables/action/ |
H A D | ajax.php | 22 $db = $helper->getDB(); 39 $db->storeEntry('rtables', [ 64 $db = $helper->getDB(); 73 $manager = new TableRoller\Table\Manager($db);
|