/plugin/pagequery/ |
H A D | PageQuery.php | 35 * @param string $query => original query 38 final public function renderAsEmpty($query, $error = ''): string 43 '<strong>' . $query . '</strong>' 62 * @param string $query user page query 63 * @return array processed query with necessary regex markup for namespace recognition 65 final public function parseNamespaceQuery(string $query): array 73 $tokens = explode(' ', trim($query)); 75 $page_qry = $query; 39 renderAsEmpty($query, $error = '') global() argument 66 parseNamespaceQuery(string $query) global() argument 446 pageSearch(string $query) global() argument 456 pageLookup($query, $fullregex, $incl_ns, $excl_ns) global() argument [all...] |
H A D | plugin.info.txt | 6 desc Search for (fulltext) and list wiki pages, sorted and optionally grouped by name, date, creator, abc, etc. in columns. Insert the pagequery markup wherever you want your list to appear. E.g.{{pagequery>[query;fulltext;sort=key:direction,key2:direction;group;limit=??;cols=?;inwords;proper]}} [..] = optional
|
H A D | readme.md | 46 {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=10;cols=2;inwords;proper}}
49 {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=100;cols=6;inwords;proper;snippet=5;border=inside;nostart;case;natsort}}
60 This would retrieve results from @namespace only (as there is no other search query you would get all the pages), and the list would be sorted by the //first letter// ('sort=a') then alphabetically ('sort=name') within each letter. The //group// option will then cause the list to be grouped by the first letter only (you cannot group by name as each one is unique).
70 The same query, but now searching for pages contenting the word "help" (NOTE: ''fulltext'' means search in the page "content" not just its "name":
|
H A D | syntax.php | 44 * {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=??;cols=?;spelldate;proper}} 56 $opt['query'] = $params[0]; 248 $query = $data['query']; 254 $results = $pq->pageSearch($query); 258 // fullregex option considers entire query to be a regex 261 [$query, $incl_ns, $excl_ns] = $pq->parseNamespaceQuery($query); 265 if ($query === '*') { 266 $query [all...] |
/plugin/dbquery/ |
H A D | helper.php | 63 * @param string $query 68 public function executeQuery($query) argument 70 if (!preg_match('/^select /i', trim($query))) { 76 $sth = $this->prepareStatement($pdo, $query, $params);
|
H A D | plugin.info.txt | 6 desc Display query results from a database
|
H A D | README | 3 Display query results from a database
|
/plugin/siteexport/action/ |
H A D | ajax.php | 201 list($path, $query) = explode('?', $combined, 2); 202 $return = array($url, $combined, $path, $query); 356 $query = ''; 385 $opts = array('depth' => $depth, 'skipacl' => $this->getConf('skipacl'), 'query' => $query);
|
/plugin/siteexport/inc/ |
H A D | functions.php | 605 $query = parse_url($url, PHP_URL_QUERY); 607 return "{$path}?{$query}";
|
/plugin/linkback/action/ |
H A D | send.php | 278 return $client->query('pingback.ping', $source_url, $target_url);
|
/plugin/structpublish/action/ |
H A D | migration.php | 73 $ok = $ok && $sqlite->query($sql); 129 $ok = $ok && $sqlite->query($sql); 151 return (bool) $sqlite->query($sql); 180 return (bool) $sqlite->query($sql);
|
/plugin/structpublish/helper/ |
H A D | publish.php | 77 $sqlite->query("UPDATE data_$table SET published = 0 WHERE pid = ?", [$ID]); 78 $sqlite->query("UPDATE multi_$table SET published = 0 WHERE pid = ?", [$ID]); 81 $sqlite->query( 85 $sqlite->query(
|
/plugin/structpublish/meta/ |
H A D | AccessTableStructpublish.php | 90 return $this->sqlite->query(
|
H A D | Assignments.php | 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]); 164 $ok = (bool) $this->sqlite->query($sql); 171 $ok = $ok && (bool) $this->sqlite->query($sql); 190 return (bool) $this->sqlite->query($sql, [$page, $user, $status]); 203 return (bool) $this->sqlite->query($sql, [$page, $user, $status]);
|
/plugin/struct/meta/ |
H A D | AccessTable.php | 234 $this->sqlite->query('BEGIN TRANSACTION'); 239 $ok = $ok && $this->sqlite->query( 251 $ok = $ok && $this->sqlite->query( 261 $this->sqlite->query('ROLLBACK TRANSACTION'); 264 $this->sqlite->query('COMMIT TRANSACTION'); 277 * Names of non-input columns to be inserted into SQL query 284 * Values for non-input columns to be inserted into SQL query 335 foreach ($this->optQueries as $query) { 336 $sql = array_shift($query); 337 $ok = $ok && $this->sqlite->query( [all...] |
H A D | AccessTableGlobal.php | 28 $this->sqlite->query($sql, $this->rid); 30 $this->sqlite->query($sql, $this->rid); 134 * Add an optional query to clear any previous multi values if the first one is empty.
|
H A D | AccessTablePage.php | 82 $ok = $this->sqlite->query( 87 return $ok && $this->sqlite->query( 94 * Names of non-input columns to be inserted into SQL query.
|
H A D | Assignments.php | 77 $ok = (bool)$this->sqlite->query($sql, [$pattern, $table]); 98 $ok = (bool)$this->sqlite->query($sql, [$pattern, $table]); 154 $ok = (bool)$this->sqlite->query($sql); 161 $ok = $ok && (bool)$this->sqlite->query($sql); 179 return (bool)$this->sqlite->query($sql, [$page, $table]); 192 return (bool)$this->sqlite->query($sql, [$page, $table]);
|
H A D | PageMeta.php | 52 $this->sqlite->query($sql, [$this->pid, $this->title, $this->lasteditor, $this->lastrev, $this->lastsummary]);
|
H A D | Schema.php | 194 $this->sqlite->query('BEGIN TRANSACTION'); 197 $this->sqlite->query($sql . 'data_' . $this->table); 198 $this->sqlite->query($sql . 'multi_' . $this->table); 201 $this->sqlite->query($sql); 204 $this->sqlite->query($sql); 213 $this->sqlite->query($sql, [$this->table]); 220 $this->sqlite->query($sql, [$this->table]); 223 $this->sqlite->query($sql, [$this->table]); 225 $this->sqlite->query('COMMIT TRANSACTION'); 226 $this->sqlite->query('VACUU [all...] |
H A D | SchemaBuilder.php | 84 $this->sqlite->query('BEGIN TRANSACTION'); 99 $this->sqlite->query('ROLLBACK TRANSACTION'); 102 $this->sqlite->query('COMMIT TRANSACTION'); 158 $this->sqlite->query($sql, [$this->table, $this->time, $this->user, $config]); 248 $this->sqlite->query($sqlInsert, $arguments); 326 $ok = $ok && (bool)$this->sqlite->query($sql); 340 $ok = $ok && (bool)$this->sqlite->query($sql); 355 if (!$this->sqlite->query($sql)) {
|
H A D | Search.php | 32 /** @var Schema[] list of schemas to query */ 61 /** @var bool Include latest = 1 in select query */ 449 * This will always query for the full result (not using offset and limit) and then 471 $res = $this->sqlite->query($sql, $opts); 500 * Called from getSQL(). Can be overwritten to extend the query using the query builder
|
H A D | SearchCloud.php | 110 $res = $this->sqlite->query($sql, $opts);
|
/plugin/struct/ |
H A D | plugin.info.txt | 6 desc Add and query additional structured page data
|
H A D | README | 3 Add and query additional structured page data
|