Home
last modified time | relevance | path

Searched full:sort (Results 1 – 25 of 118) sorted by relevance

12345

/dokuwiki/_test/tests/inc/
Dsort_without_collator.test.php3 use dokuwiki\Utf8\Sort; alias
21 Sort::useIntl(false);
29 Sort::useIntl(true);
34 * Since we always use the fallback sort, we do not check for
44 * The pairs should show what the fallback sort can or cannot do, as it
58 // fallback sort works for c < ĉ, but not for ĉ < d (and so on)
61 // fallback sort WRONGLY puts ĉ/ĝ/ĥ/ĵ/ŝ/ŭ after z
64 // natural sort works as usual
70 // fallback sort WRONGLY puts ä/ö/ü/ß after z
73 // natural sort works as usual
[all …]
Dsort_with_collator.test.php3 use dokuwiki\Utf8\Sort; alias
17 … $this->markTestSkipped('Skipping all sort tests with collator, as they need "intl" extension');
30 * Craft word pairs to double-check the collator, such that sort by the next
39 * If the sole difference between the words is the character pair, the sort
50 * a character pair from the given set, the sort will be as if X < Y < Z < ...
78 // natural sort
92 // natural sort
110 // natural sort
128 // natural sort
146 * Add a 2nd character to double-check the collator, such that sort by the 2nd
[all …]
Dindexer_indexing.test.php71 sort($result);
76 sort($result);
Dlang.php198 // sort by the given sorting in key 1
202 // sort empties towards the back
206 // compare sort numbers
/dokuwiki/inc/Parsing/ParserMode/
DFormatting.php17 'sort' => 70
23 'sort' => 80,
28 'sort' => 90
33 'sort' => 100
38 'sort' => 110
43 'sort' => 120
48 'sort' => 130
108 return $this->formatting[$this->type]['sort'];
DAcronym.php49 * sort callback to order by string length descending
/dokuwiki/inc/TreeBuilder/
DTreeSort.php7 use dokuwiki\Utf8\Sort; alias
20 * Comparator to sort by ID
43 * Comparator to sort namespace first, then by ID
57 * Comparator to sort by title (using natural sort)
65 return Sort::strcmp($a->getTitle(), $b->getTitle());
69 * Comparator to sort namespace first, then by title
83 * Comparator to sort by namespace first
DAbstractBuilder.php180 * Sort the tree
191 public function sort(callable $comparator): void function in dokuwiki\\TreeBuilder\\AbstractBuilder
194 $this->top->sort($comparator);
/dokuwiki/inc/Ui/
DSearchState.php28 if (!isset($parsedQuery['sort'])) {
29 $this->parsedQuery['sort'] = $INPUT->str('srt');
87 * Get a search state for the current search with adjusted sort preference
89 * @param $sort
93 public function withSorting($sort) argument
96 $parsedQuery['sort'] = $sort;
134 if ($parsedQuery['sort']) {
135 $hrefAttributes['srt'] = $parsedQuery['sort'];
DAdmin.php7 use dokuwiki\Utf8\Sort; alias
154 'sort' => $obj->getMenuSort()
158 // sort by name, then sort
169 * We sort alphabetically first, then by sort value
177 $strcmp = Sort::strcmp($a['prompt'], $b['prompt']);
179 return $a['sort'] <=> $b['sort'];
/dokuwiki/bin/
Dwantedpages.php4 use dokuwiki\Utf8\Sort; alias
23 private $sort = 'wanted'; variable in WantedPagesCLI
46 'sort',
47 'Sort by wanted or origin page',
77 $this->sort = $options->getOpt('sort');
84 Sort::ksort($this->result);
90 Sort::sort($subs);
175 if ($this->sort == 'origin') {
/dokuwiki/inc/Utf8/
DSort.php8 * DokuWiki sort functions
22 class Sort class
102 * Drop-in replacement for sort().
103 …* It uses a collator-based sort, or sort() with flags SORT_NATURAL and SORT_FLAG_CASE as a fallbac…
110 public static function sort(&$array) function in dokuwiki\\Utf8\\Sort
114 return $collator->sort($array);
116 return sort($array, SORT_NATURAL | SORT_FLAG_CASE);
122 …* It uses a collator-based sort, or ksort() with flags SORT_NATURAL and SORT_FLAG_CASE as a fallba…
141 …* It uses a collator-based sort, or asort() with flags SORT_NATURAL and SORT_FLAG_CASE as a fallba…
161 * so the correct behavior is to sort page names and reflect this sorting in the filename array.
/dokuwiki/_test/tests/TreeBuilder/
DControlPageBuilderTest.php38 sort($expected);
39 sort($result);
119 sort($expected);
120 sort($result);
DPageTreeBuilderTest.php159 sort($expected);
160 sort($result);
/dokuwiki/inc/
Dsearch.php12 use dokuwiki\Utf8\Sort; alias
26 * @param mixed $sort 'natural' to use natural order sorting (default);
27 * 'date' to sort by filemtime; leave empty to skip sorting.
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') argument
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
[all …]
Dfulltext.php15 use dokuwiki\Utf8\Sort; alias
31 * @param string $sort
37 function ft_pageSearch($query, &$highlight, $sort = null, $after = null, $before = null) argument
40 if ($sort === null) {
41 $sort = 'hits';
45 'sort' => $sort,
166 if ($data['sort'] === 'mtime') {
169 // sort docs by count
203 Sort::sort($result);
237 Sort::sort($result);
[all …]
DAjax.php9 use dokuwiki\Utf8\Sort; alias
110 Sort::sort($data);
220 $sort = $INPUT->post->bool('recent') ? 'date' : 'natural';
224 tpl_mediaContent(true, $sort);
416 // fixme sort results in a useful way ?
Dparserutils.php551 …* @return array[] with for each plugin the array('sort' => sortnumber, 'mode' => mode string, 'obj…
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'] <=> $b['sort'];
/dokuwiki/inc/Feed/
DFeedCreatorOptions.php48 'sort' => 'natural',
89 $this->options['sort'] = $INPUT->valid(
90 'sort',
/dokuwiki/inc/TreeBuilder/Node/
DAbstractNode.php185 * Sort the children of this node and all its descendants
194 public function sort(callable $comparator): void function in dokuwiki\\TreeBuilder\\Node\\AbstractNode
198 $child->sort($comparator);
/dokuwiki/vendor/geshi/geshi/src/geshi/
Dcobol.php291 'SKIP2', 'SKIP3', 'SMALL-FONT', 'SORT-CONTROL',
292 'SORT-CORE-SIZE', 'SORT-FILE-SIZE', 'SORT-MERGE', 'SORT-MESSAGE',
293 'SORT-MODE-SIZE', 'SORT-OPTION', 'SORT-ORDER', 'SORT-RETURN',
294 'SORT-TAPE', 'SORT-TAPES', 'SOURCE', 'SOURCE-COMPUTER', 'SOURCES',
351 'REWRITE', 'ROLLBACK', 'SEARCH', 'SELECT', 'SERVICE', 'SET', 'SORT',
/dokuwiki/lib/plugins/config/core/Setting/
DSettingDirchoice.php29 sort($list);
/dokuwiki/vendor/simplepie/simplepie/
Dcomposer.json61 "sort-packages": true
/dokuwiki/vendor/geshi/geshi/
DBUGS17 making some sort of "cache" effect to speed things up and reduce server load.
/dokuwiki/vendor/phpseclib/phpseclib/
Dcomposer.json82 "sort-packages": true

12345