Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/plugin/sqlite/_test/
H A DHelperTest.php16 protected $res; variable in dokuwiki\\plugin\\sqlite\\test\\HelperTest
48 $res = $SqliteHelper->query($sql);
49 $this->res = $res;
62 $res = $SqliteHelper->query($sql);
63 $this->res = $res;
150 $this->assertNotEquals(false, $this->res);
153 $SqliteHelper->res_close($this->res);
168 $this->assertEquals($resultassoc, $SqliteHelper->res2arr($this->res,
[all...]
/plugin/sqlite/
H A Dhelper.php235 * @param \PDOStatement $res argument
238 public function res_close($res)
240 if (!$res) return false;
242 return $res->closeCursor();
248 * @param \PDOStatement $res argument
251 public function res2arr($res, $assoc = true)
253 if (!$res) return [];
258 $this->data = $res->fetchAll($mode);
266 * @param \PDOStatement $res argument
269 public function res2row($res,
279 res2single($res) global() argument
296 res_fetch_array($res) global() argument
309 res_fetch_assoc($res) global() argument
324 res2count($res) global() argument
342 countChanges($res) global() argument
[all...]
/plugin/freechat/phpfreechat/src/containers/
H A Doracle.class.php187 $res = $this->_db->query($sql_count);
188 if (DB::isError($res))
203 $res=$this->_db->query($sql_insert);
204 if (DB::isError($res)) { error_log("sql insert error: $sql_insert " . $res->getMessage()); }
213 if (DB::isError($res))
309 $res = $this->_db->query($sql_count);
310 …if (DB::isError($res)) { error_log("sql_count error $sql_count " . $res->getMessage()); …
324 if (DB::isError($res)){ error_log("sql insert error $sql_insert " . $res->getMessage()); }
336 if (DB::isError($res)){ error_log("problema update: $sql_update " . $res->getMessage()); }
376 $res=$this->_db->query($sql_delete);
[all …]
/plugin/flowplayer/
H A Dsyntax.php37 if (preg_match('/(\d+),(\d+)/', $param, $res)) {
38 $width = intval($res[1]);
39 $height = intval($res[2]);
41 else if (preg_match('/([^:]+):(.*)$/', $param, $res))
42 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = '"'.$res[2].'"';
43 else if (preg_match('/no(\w+)/', $param, $res))
44 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'false';
45 else if (preg_match('/(\w+)/', $param, $res))
46 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'true';
/plugin/timetrack/
H A Dhelper.php69 $sqlite->res_close($res);
76 $sqlite->res_close($res);
130 $sqlite->res_close($res);
161 $sqlite->res_close($res);
248 $sqlite->res_close($res);
260 $res = $sqlite->query("SELECT
311 $res = $sqlite->query("SELECT
366 $sqlite->res_close($res);
385 $sqlite->res_close($res);
466 $res = $sqlite->query("SELECT
[all …]
/plugin/combo/ComboStrap/
H A DSqliteResult.php11 private $res;
24 public function __construct(SqliteRequest $sqlite, $res)
27 $this->res = $res;
37 return $this->sqlitePlugin->res2arr($this->res);
45 return $this->res->fetchAll(PDO::FETCH_ASSOC);
53 * $this->res may be a boolean {@link }
60 if ($this->res instanceof \PDOStatement) {
61 $this->sqlitePlugin->res_close($this->res);
63 $this->res
9 private $res; global() variable in ComboStrap\\SqliteResult
22 __construct(SqliteRequest $sqlite, $res) global() argument
[all...]
H A DSqliteRequest.php79 $res = $this->executeParametrizedStatement($statement, $values);
83 $res = $this->sqlitePlugin->query($this->query);
87 $res = $this->executeParametrizedStatement($this->statement, $this->parameters);
93 $res = $sqLiteAdapater->executeQuery($this->statement);
95 $res = $sqLiteAdapater->query($this->statement);
104 if ($res === null) {
108 if ($res === false) {
113 if (!$res instanceof \PDOStatement) {
115 throw new ExceptionCompile("Error in the request type `$requestType`. res is not a PDOStatement but as the value ($res)
[all...]
/plugin/translation3/
H A Daction.php83 $res = array();
86 if(!is_array($res["x$tr"])) $res["x$tr"] = array();
87 $res["x$tr"][] = array($r,$t);
90 ksort($res);
93 foreach($res as $r){
102 $res = array();
105 if(!is_array($res["x$tr"])) $res["x$tr"] = array();
106 $res["x$tr"][] = $r;
109 ksort($res);
112 foreach($res as $r){
/plugin/diagram/syntax/
H A Dsplitter.php139 $res = array();
143 $res['type'] = 'newline';
146 $res['type'] = 'abbr eval';
151 $res['abbr'] = $regs[1];
152 $res['params'] = $regs[2];
155 $res['abbr'] = $abbr_and_params;
159 $res['type'] = 'command';
161 $res['command'] = trim(substr($match, 1));
165 $res['text'] = $match;
166 return $res;
/plugin/rating/
H A Dhelper.php64 $res = $sqlite->query($sql, $ID);
65 $current = (int) $sqlite->res2single($res);
66 $sqlite->res_close($res);
70 $self = (int) $sqlite->res2single($res);
71 $sqlite->res_close($res);
96 $res = $sqlite->query($sql, $page);
97 $sqlite->res_close($res);
114 $res = $sqlite->query($sql, $num);
117 $res = $sqlite->query($sql, $lang, $num);
125 $list = $sqlite->res2arr($res);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dfetcher.url.class.php180 function _extract_code($res) { argument
271 $res = $this->_head();
276 return $this->_process_code($res);
287 $res = $this->_head();
335 $res = "";
344 $res = fread($socket, 1024*1024);
349 return $res;
373 $res = "";
382 $res = fread($socket, 4096);
387 return $res;
[all …]
/plugin/davcal/
H A Dhelper.php305 if($res !== false)
352 if($res !== false)
372 if($res !== false)
395 if($res !== false)
418 if($res !== false)
650 if($res === false)
702 if($res !== false)
737 if($res !== false)
934 if($res !== false)
956 if($res !== false)
[all …]
/plugin/sequencediagram/bower_components/raphael/dev/
H A Draphael.vml.js50 res = [];
151 res = o;
338 res.Y = a.y + res.H / 2;
351 res.bbx = res.W / 2;
355 res.bbx = -res.W / 2;
626 res.gradient && res.fill == "none" && (res.fill = res.gradient) && delete res.gradient;
769 return res;
785 return res;
792 res.W = res.H = r * 2;
799 return res;
[all …]
/plugin/addressbook/
H A Daction.php38 $res .= '<div class="plugin_addressbook_searchpage">';
39 $res .= '<h2>'.$this->getLang('results msg').':</h2>';
45 …foreach ($list as $l) $res .= $syntax->showcontact($l['id'],($this->getConf('search link target') …
46 …} else $res .= $syntax->buildIndex($list,false,($this->getConf('search link target') != ''? $this-…
50 foreach ($found as $f) $res .= $syntax->showcontact($f['id']);
52 $res .= '</div>';
54 $searchForm->addHTML($res);
77 $res = $sqlite->res2arr($query);
83 return $res;
H A Dsyntax.php101 if (!$res) {
390 return $res;
409 $res = Array();
433 return $res;
605 return $res;
645 return $res;
686 $res = '';
692 return $res;
702 $res = Array();
727 return $res;
[all …]
/plugin/extendpage/meta/
H A DAssignments.php61 $res = $this->sqlite->query($sql);
62 $this->patterns = $this->sqlite->res2arr($res);
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);
215 $list = $this->sqlite->res2arr($res);
216 $this->sqlite->res_close($res);
281 $pagerows = $this->sqlite->res2arr($res);
[all …]
/plugin/git/
H A Dhelper.php109 $res = $this->loadSqlite();
110 if (!$res)
125 $res = $this->loadSqlite();
126 if (!$res) return;
138 $res = $this->loadSqlite();
139 if (!$res) return;
456 if (!$res) return;
475 if (!$res) return;
491 if (!$res) return;
509 if (!$res) return;
[all …]
/plugin/blogtng/helper/
H A Dcomments.php88 $res = $this->sqlitehelper->getDB()->query($sql,$args);
89 $res = $this->sqlitehelper->getDB()->res2row($res,0);
90 return (int) $res['val'];
166 $res = $this->sqlitehelper->getDB()->query(
284 $rows = $this->sqlitehelper->getDB()->res2arr($res);
382 $row = $this->sqlitehelper->getDB()->res2row($res);
607 $res = $this->sqlitehelper->getDB()->res2arr($res);
610 foreach($res as $row){
668 $res = $this->sqlitehelper->getDB()->query($query);
671 $res = $this->sqlitehelper->getDB()->res2arr($res);
[all …]
/plugin/dbtables/
H A Dsyntax.php116 $res="</p><table";
118 $res.=" width='".$this->options["twidth"]."'>";
120 $res.=">";
136 $res.="</tr>\n";
138 … $res.="\n<tr class='dbtables-tr_".$CurTablePos % $this->options["groups"]."' valign='top'>\n";
141 $res.=$td."\n";
145 $res.="</tr></table><p>";
146 return $res;
/plugin/abc2/abc-libraries/abc2svg/
H A Dabcweb-1.js61 function render(){var i=0,j,k,res,re=/<script type="text\/vnd.abc"|<[^>]* class="abc"|%abc-\d|X:\d/g,re_stop=/\n<|\n%.begin[^\s]+/g
73 for(;;){res=re.exec(page)
74 if(!res){src+=page.slice(i).replace(/\n%%/g,"\n%%%%")+"\n%%endml\n"
76 j=re.lastIndex-res[0].length;src+=page.slice(i,j).replace(/\n%%/g,"\n%%%%")
77 switch(res[0][0]){default:res=res[0].match(/<([^\s]*)/)[1]
78 if(res=='script'){j=page.indexOf('>',j)+2
79 i=page.indexOf('</'+res,j)
85 j=page.indexOf('</'+res,
[all...]
/plugin/404manager/
H A Dadmin.php333 if (!$res) {
365 $count = $this->sqlite->res2count($res);
451 if (!$res) {
458 if (!$res) {
562 if (!$res) {
606 if (!$res) {
745 if (!$res) {
753 if (!$res) {
775 if (!$res) {
808 if (!$res) {
[all …]
/plugin/top/
H A Dhelper.php62 $res = $this->sqlite->query($sql, $page, $page, $month, $lang, $month);
63 $this->sqlite->res_close($res);
80 $res = $this->sqlite->query($sql, $num);
83 $res = $this->sqlite->query($sql, $lang, $num);
86 $res = $this->sqlite->query($sql, intval($month), $num);
89 $res = $this->sqlite->query($sql, $lang, intval($month), $num);
91 $list = $this->sqlite->res2arr($res);
92 $this->sqlite->res_close($res);
/plugin/revealjs/plugin/multiplex/
H A Dindex.js32 app.get("/", function(req, res) { argument
33 res.writeHead(200, {'Content-Type': 'text/html'});
37res.write('<style>body{font-family: sans-serif;}</style><h2>reveal.js multiplex server.</h2><a hre…
38 res.end();
41 stream.pipe(res);
45 app.get("/token", function(req,res) { argument
49 res.send({secret: secret, socketId: createHash(secret)});
/plugin/userpagecreate/
H A Daction.php60 $res = $this->getConf('target') . $user;
65 if ($res === '') return null;
68 $exists = page_exists($res . ($do_ns ? (':' . $conf['start']) : ''));
74 'res' => $res,
88 $res = $data['res'];
100 … $pages[$res . ':' . substr($tpl_name, strlen(getNS($tpl)) + 1)] = rawWiki($tpl_name);
104 $pages[$res] = pageTemplate($res);
107 $pages[$res] = rawWiki($tpl);
/plugin/fksnewsfeed/inc/ORM/
H A DAbstractService.php27 …$res = $this->sqlite->query('SELECT * FROM ' . $this->table . ' WHERE ' . $this->table . '_id = ?'…
28 if ($res) {
29 return ($this->modelClassName)::createFromArray($this->sqlite, $res);
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) {

12345678910>>...13