/plugin/pagelist/ |
H A D | syntax.php |
|
H A D | helper.php | 4 use dokuwiki\Utf8\Sort; 53 public $sort = false; 55 * @var bool Reverses the sort 107 $this->sort = $this->getConf('sort'); //on-off 111 $this->sort = true; 244 * for sorting: 'sort', 'rsort', 'nosort', 'sortby=<columnname>' 279 case 'sort': 280 $this->sort = true; //sort b 46 public $sort = false; global() variable in helper_plugin_pagelist [all...] |
/plugin/pagelist/conf/ |
H A D | default.php | 16 $conf['sort'] = 0;
|
H A D | metadata.php | 21 $meta['sort'] = array('onoff');
|
/plugin/pagequery/ |
H A D | PageQuery.php | 115 // title takes precedence over name (should you try to sort by both...why?) 116 $from_title = isset($opt['sort']['title']); 122 $extrakeys = array_diff_key($opt['filter'], $opt['sort']); 123 $col_keys = array_merge($opt['sort'], $extrakeys); 219 // not per sort column--the date should remain same across all columns 226 // only set date formats once per sort column/key (not per id!), i.e. on first row 289 foreach ($opt['sort'] as $key => $value) { 292 // now the sort direction 304 // sort dates descending by default; text ascending 323 // set the sort arra [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 | 9 On the surface it may appear to fill a similar role to the really excellent [[plugin:indexmenu|IndexMenu]], however pagequery's aspirations are not as lofty or elaborate. IndexMenu focuses on displaying namespaces, and the pages within. allowing you to sort the namespaces and files by many options, and actively navigate and manipulate this index. Pagequery's purpose is __displaying lists of pages__: yes, you can sort by namespace if you wish, however the main goal is to search for and list pages in any order, and then neatly display them in groups (A-Z, by year, by month, etc...) and in addition in columns — to make best use of space. If you try both of them you'll quickly see that they //"scratch different itches."//
17 * Sort lists by A-Z, by name, by year, by month, by day, by author, and many other options
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}}
56 {{pagequery>@namespace;fulltext;sort=a,name;group}} [fulltext version]
58 {{pagequery>@namespace *;sort=a,name;group;proper;cols=2}} [pagename version: allows regex's]
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).
64 {{pagequery>@namespace *;sort [all...] |
H A D | syntax.php | 44 * {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=??;cols=?;spelldate;proper}} 69 $opt['group'] = false; // group the results based on sort headings 81 $opt['sort'] = []; // sort by various headings 106 case 'sort':
|
/plugin/nspages/printers/ |
H A D | printerNice.php | 83 $return_char = PhpString::strtoupper(PhpString::substr($item['sort'], 0, 1));
|
H A D | printer.php | 71 $this->_sorter->sort($tab);
|
H A D | printerTree.php | 28 * lost the order for namespaces, we hence need to sort again each node 31 // We only need to sort "children". We don't need to sort "pages" because with the current 34 // An optimization could be to disable the preliminary sort and to instead sort pages here. 35 // That could save some CPU cycles because instead of sorting a big list we would sort 38 // have a custom sort (eg: "-h1") to ensure we don't have the correct order just because 41 // would make several small sort more costly than a single one bigger) 42 $this->_sorter->sort($tree->children); 230 * implementations and that those implementation are performing sorts based on $item["sort"] [all...] |
H A D | sorters.php | 17 function sort(&$array){ function in nspages_sorter 37 return strcasecmp($item1['sort'], $item2['sort']); 47 return strnatcasecmp($item1['sort'], $item2['sort']); 67 return strcoll($item1['sort'], $item2['sort']);
|
/plugin/nspages/fileHelper/ |
H A D | pagePreparer.php | 61 $page['sort'] = $this->buildSortAttribute($page['nameToDisplay'], $page['id'], $page['mtime']);
|
H A D | namespacePreparer.php | 41 $ns['sort'] = $this->buildSortAttribute($ns['nameToDisplay'], $ns['id'], $ns['mtime']);
|
/plugin/nspages/ |
H A D | syntax.php | 61 optionParser::checkOption($match, "sort(By)?Id", $return['sortid'], true); 65 optionParser::checkOption($match, "sort(By)?Date", $return['sortDate'], true); 66 optionParser::checkOption($match, "sort(By)?CreationDate", $return['sortByCreationDate'], true);
|
/dokuwiki/lib/plugins/authpdo/ |
H A D | auth.php | 5 use dokuwiki\Utf8\Sort; 564 Sort::sort($groups); 597 Sort::ksort($groups); 2 use dokuwiki\Utf8\Sort; global() alias
|
/dokuwiki/lib/plugins/acl/ |
H A D | admin.php | 4 use dokuwiki\Utf8\Sort; 45 * return sort order for position in admin menu 315 $cur_result = Sort::strcmp(array_shift($a_ids), array_shift($b_ids)); 601 Sort::sort($this->specials); 620 Sort::sort($usersgroups); 621 Sort::ksort($acl_config); 623 Sort::ksort($acl_config[$pagename]); 2 use dokuwiki\Utf8\Sort; global() alias
|
/dokuwiki/vendor/geshi/geshi/src/geshi/ |
H A D | actionscript.php | 125 'silenceLevel', 'silenceTimeout', 'sin', 'size', 'slice', 'smoothing', 'sort', 'sortOn', 'Sound', 'SPACE',
|
H A D | asymptote.php | 1031 'sort',
|
H A D | clojure.php | 65 'reverse', 'sort', 'sort-by', 'split-at', 'partition', 'split-with',
|
H A D | icon.php | 87 'setenv', 'sort', 'sortf', 'sql', 'sqrt', 'stat', 'stop', 'string', 'system', 'tab',
|
/dokuwiki/inc/ |
H A D | parserutils.php | 551 * @return array[] with for each plugin the array('sort' => sortnumber, 'mode' => mode string, 'obj' => plugin object) 583 'sort' => $obj->getSort(), 604 $modes[] = ['sort' => $obj->getSort(), 'mode' => $m, 'obj' => $obj]; 614 'sort' => $obj->getSort(), 622 $modes[] = ['sort' => $obj->getSort(), 'mode' => 'smiley', 'obj' => $obj]; 624 $modes[] = ['sort' => $obj->getSort(), 'mode' => 'acronym', 'obj' => $obj]; 626 $modes[] = ['sort' => $obj->getSort(), 'mode' => 'entity', 'obj' => $obj]; 631 $modes[] = ['sort' => $obj->getSort(), 'mode' => 'camelcaselink', 'obj' => $obj]; 634 //sort modes 651 return $a['sort'] < [all...] |
H A D | search.php | 12 use dokuwiki\Utf8\Sort; 26 * @param mixed $sort 'natural' to use natural order sorting (default); 27 * 'date' to sort by filemtime; leave empty to skip sorting. argument 30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') 54 if (!empty($sort)) { 55 if ($sort == 'date') { 58 Sort::asortFN($files); 60 Sort::asortFN($dirs); 66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort); 420 * fulltext sort 9 use dokuwiki\Utf8\Sort; global() alias [all...] |
H A D | template.php | 1408 * @param string $sort 1412 function tpl_mediaContent($fromajax = false, $sort = 'natural') 1444 media_filelist($NS, $AUTH, $JUMPTO, false, $sort); 1337 tpl_mediaContent($fromajax = false, $sort = 'natural') global() argument
|
/dokuwiki/inc/lang/en/ |
H A D | lang.php | 86 $lang['search_sort_by_hits'] = 'Sort by hits'; 87 $lang['search_sort_by_mtime'] = 'Sort by last modified';
|