Home
last modified time | relevance | path

Searched refs:where (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/plugin/tagging/helper/
H A Dquerybuilder.php193 $where = '1=1';
196 $where .= ' AND pid';
198 $where .= ' ?';
204 $where .= ' IN(';
209 $where = rtrim($where, ',') . ')';
218 $where .= ' AND ';
225 $where .= ' ?';
232 $where .= ' AND ';
239 $where .= ' ?';
246 $where .= ' AND ';
[all …]
/plugin/struct/_test/
H A DQueryBuilderWhere.test.php18 $where = new QueryBuilderWhere($QB);
20 $where->whereAnd('foo = foo');
23 $this->cleanWS($where->toSQL())
26 $where->whereAnd('bar = bar');
29 $this->cleanWS($where->toSQL())
32 $sub = $where->whereSubAnd();
35 $this->cleanWS($where->toSQL())
41 $this->cleanWS($where->toSQL())
47 $this->cleanWS($where->toSQL())
56 $where->whereAnd("foo = ''");
[all …]
H A DAccessTableDataReplacement.test.php171 $where = array_filter(explode("\n", $sql), function ($elem) {
174 $where = trim(reset($where));
187 $this->assertEquals($this->cleanWS($expected_where), $this->cleanWS($where), $msg);
/plugin/swiftmail/Swift/
H A DRecipientList.php71 if (in_array($where, array("to", "cc", "bcc")))
73 $container =& $this->$where;
82 public function remove($address, $where="to") argument
90 if (in_array($where, array("to", "cc", "bcc")))
92 if (array_key_exists($key, $this->$where)) unset($this->{$where}[$key]);
100 public function getIterator($where) argument
102 if (!empty($this->iterators[$where]))
104 return $this->iterators[$where];
108 $it = new Swift_Iterator_Array($this->$where);
118 if (in_array($where, array("to", "cc", "bcc")))
[all …]
/plugin/struct/meta/
H A DQueryBuilderWhere.php44 return $this->where('AND', $statement);
55 return $this->where('OR', $statement);
65 return $this->where('AND', null);
75 return $this->where('OR', null);
86 public function where($op = 'AND', $statement = null) function in dokuwiki\\plugin\\struct\\meta\\QueryBuilderWhere
94 $where = new QueryBuilderWhere($this->QB, $op, $statement);
95 $this->statement[] = $where;
100 return $where;
126 foreach ($this->statement as $where) {
127 $sql .= $where->toSQL($first);
H A DAccessTablePage.php50 $where = "WHERE pid = ?";
53 $where .= " AND REV > 0 AND rev <= ?";
58 $sql = "SELECT rev FROM $table $where ORDER BY rev DESC LIMIT 1";
/plugin/userhomepage/
H A Daction.php245 $where = $this->private_ns.':*';
253 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
259 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
266 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
280 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
314 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
321 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
333 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
337 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
344 …if (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, '…
[all …]
/plugin/data-au/syntax/
H A Drelated.php73 $where = '';
98 $where .= ' AND (' . join(' OR ', $cond) . ') ';
127 $where .= ' AND ( 1=1 ';
134 …$where .= " " . $filter['logic'] . " pages.page " . $filter['compare'] . " '" . $filter['value'] .…
136 …$where .= " " . $filter['logic'] . " pages.title " . $filter['compare'] . " '" . $filter['value'] …
145 … $where .= ' ' . $filter['logic'] . ' ' . $tables[$col] . '.value ' . $filter['compare'] .
150 $where .= ' ) ';
158 $where
H A Dcloud.php69 $where = ' ';
90 $where .= " " . $filter['logic'] . " pages." . $fields[$m[1]] .
101 … $where .= ' ' . $filter['logic'] . ' ' . $tables[$col] . '.value ' . $filter['compare'] .
111 $where
/plugin/data/syntax/
H A Drelated.php71 $where = '';
96 $where .= ' AND (' . join(' OR ', $cond) . ') ';
125 $where .= ' AND ( 1=1 ';
132 …$where .= " " . $filter['logic'] . " pages.page " . $filter['compare'] . " '" . $filter['value'] .…
134 …$where .= " " . $filter['logic'] . " pages.title " . $filter['compare'] . " '" . $filter['value'] …
143 … $where .= ' ' . $filter['logic'] . ' ' . $tables[$col] . '.value ' . $filter['compare'] .
148 $where .= ' ) ';
156 $where
/plugin/dataloop/syntax/
H A Droll.php273 $where = '';
327 $where .= ' AND ( 1=1 ';
333 … $where .= " ".$filter['logic']." pages.page ".$filter['compare']." '".$filter['value']."'";
335 … $where .= " ".$filter['logic']." pages.title ".$filter['compare']." '".$filter['value']."'";
344 $where .= ' '.$filter['logic'].' '.$tables[$col].'.value '.$filter['compare'].
349 $where .= ' ) ';
361 $where .= ' AND '.$tables[$col].".value = '".sqlite_escape_string($val)."'";
366 $where = 'pages.pid = T1.pid '.$where;
368 $where = '1 = 1 '.$where;
374 WHERE $where
H A Dtextloop.php313 $where = '';
367 $where .= ' AND ( 1=1 ';
373 … $where .= " ".$filter['logic']." pages.page ".$filter['compare']." '".$filter['value']."'";
375 … $where .= " ".$filter['logic']." pages.title ".$filter['compare']." '".$filter['value']."'";
384 $where .= ' '.$filter['logic'].' '.$tables[$col].'.value '.$filter['compare'].
389 $where .= ' ) ';
401 $where .= ' AND '.$tables[$col].".value = '".sqlite_escape_string($val)."'";
406 $where = 'pages.pid = T1.pid '.$where;
408 $where = '1 = 1 '.$where;
414 WHERE $where
H A Dloop.php389 $where = '';
443 $where .= ' AND ( 1=1 ';
449 … $where .= " ".$filter['logic']." pages.page ".$filter['compare']." '".$filter['value']."'";
451 … $where .= " ".$filter['logic']." pages.title ".$filter['compare']." '".$filter['value']."'";
460 $where .= ' '.$filter['logic'].' '.$tables[$col].'.value '.$filter['compare'].
465 $where .= ' ) ';
477 $where .= ' AND '.$tables[$col].".value = '".sqlite_escape_string($val)."'";
482 $where = 'pages.pid = T1.pid '.$where;
484 $where = '1 = 1 '.$where;
490 WHERE $where
/plugin/progrecss/
H A Dsyntax.php154 $where= $data['order'];
167 $renderer->doc .= $this->_place_percentage($percentage, $fmted_p, $where);
220 function _place_percentage ($pv, $p, $where) { argument
221 if ($where==='before') $wt.= $p;
222 $wt.= ' <span class="bar '. $where. '" style="width: '.$pv. '%;">';
223 if ($where==='inside') $wt.= $p;
225 if ($where==='after') $wt.= $p;
/plugin/struct/types/
H A DTraitFilterPrefix.php29 $add = $add->where($op); // open a subgroup
30 $add->where('AND', "$tablealias.$colname != ''"); // make sure the field isn't empty
35 $add = $add->where($op); // sub where group
52 $add->where($op, "$column $comp $pl");
H A DDecimal.php136 $add = $add->where($op); // open a subgroup
137 $add->where('AND', "$tablealias.$colname != ''"); // make sure the field isn't empty
142 $add = $add->where($op); // sub where group
148 $add->where($op, "CAST($tablealias.$colname AS DECIMAL) $comp CAST($pl AS DECIMAL)");
/plugin/watchcycle/
H A Dadmin.php97 $where = [];
100 $where[] = 'page LIKE ?';
104 $where[] = 'uptodate=0';
107 if (count($where) > 0) {
109 $q .= implode(' AND ', $where);
/plugin/authucenter/lib/uc_client/model/
H A Dapp.php26 function get_apps($col = '*', $where = '') { argument
27 …b->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$where : ''), 'a…
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Firestore/
H A DStructuredQuery.php145 public function setWhere(Filter $where) argument
147 $this->where = $where;
154 return $this->where;
/plugin/authowncloud/
H A Dauth.php184 $where = array();
190 array_push($where, '*PREFIX*users.uid LIKE ?');
193 array_push($where, '*PREFIX*users.displayname LIKE ?');
196 array_push($where, '*PREFIX*preferences.configvalue LIKE ?');
200 array_push($where, '*PREFIX*group_user.gid LIKE ?');
206 array_push($where, '*PREFIX*preferences.configkey = ?');
215 if(!empty($where)) $wheres = ' WHERE '.implode(' AND ', $where);
/plugin/dokutranslate/
H A Dadmin.php84 foreach((array) $_REQUEST['del'] as $where){
86 unset($_REQUEST['acl'][$where]);
101 foreach((array) $_REQUEST['acl'] as $where => $who){
104 $lines[] = "$where\t$who\n";
345 foreach($this->acl as $where => $who){
348 echo '<span class="dokutranslatens">'.hsc($where).'</span>';
356 echo '<input type="hidden" name="acl['.hsc($where).']" value="'.hsc($who).'" />';
357 echo '<input type="checkbox" name="del[]" value="'.hsc($where).'" />';
/plugin/do/
H A Dhelper.php107 $where = ' WHERE 1=1';
126 $where .= sprintf(' AND A.page LIKE %s', $this->db->quote_string($ns . '%'));
136 $where .= sprintf(' AND A.page = %s', $this->db->quote_string($args['id'][0]));
142 $where .= ' AND B.status IS NOT null';
144 $where .= ' AND B.status IS null';
154 … $where .= sprintf(" AND A.date >= '%s' AND A.date <= '%s' ", $args['from'][0], $args['to'][0]);
165 $where .= ' AND A.md5 = ' . $this->db->quote_string($args['md5'][0]);
195 $where .= sprintf(' AND %s in (%s)', $search, $args[$n]);
201 $where .= ' AND GETACCESSLEVEL(A.page) >= ' . AUTH_READ;
218 ' . $where . '
/plugin/blogtng/helper/
H A Dtags.php215 $where = '';
217 $where .= '('.join(' OR ', $tag_clauses['OR']).')';
220 $where .= (!empty($where) ? ' AND ' : '').join(' AND ', $tag_clauses['AND']);
223 $where .= (!empty($where) ? ' AND ' : '').join(' AND ', $tag_clauses['NOT']);
225 return $where;
/plugin/semanticdata/syntax/
H A Dtable.php325 $where = '';
347 if ($where != '') $where .= " UNION ";
348 …$where .= sprintf('{ ?pageurl <%s%s> ?%s . }',$this->getConf('base_url'),urlencode($key),$tables[$…
377 if ($where != '') $where .= " UNION ";
378 …$where .= sprintf('{ ?pageurl <%s%s> ?%s . }',$this->getConf('base_url'),urlencode($col),$tables[$…
443 "WHERE {".$wherefirst."{".$where."} ".$wherefilter."} GROUP BY ?page ".$order.
/plugin/blogtng/
H A Dadmin.php247 $where = 'WHERE blog = ' . $db->quote_string($query['blog']) . ' ';
249 $where = 'WHERE blog != "" ';
255 $where .= 'AND ( title LIKE \'%'.$db->escape_string($query['string']).'%\' ) ';
258 $where .= 'AND ( author LIKE \'%'.$db->escape_string($query['string']).'%\' ) ';
274 $where .= 'AND ( comments.pid = ' . $db->quote_string($query['pid']) . ' ) ';
277 $sqlcount = $count . $from . $where;
278 $sqlselect = $select . $from . $where . $orderby;
465 $where = 'WHERE blog != "" ';
469 $where = '';
475 $sqlcount = $count . $from . $where;
[all …]

12345678910>>...32