Home
last modified time | relevance | path

Searched refs:sort (Results 1 – 25 of 32) sorted by relevance

12

/dokuwiki/inc/Utf8/
H A DSort.php8 * DokuWiki sort functions
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 fallback.
110 public static function sort(&$array)
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 fallback.
141 * It uses a collator-based sort, or asort() with flags SORT_NATURAL and SORT_FLAG_CASE as a fallback.
161 * so the correct behavior is to sort pag
108 public static function sort(&$array) global() function in dokuwiki\\Utf8\\Sort
[all...]
/dokuwiki/bin/
H A Dwantedpages.php23 private $sort = 'wanted'; variable in WantedPagesCLI
46 'sort',
77 $this->sort = $options->getOpt('sort');
90 Sort::sort($subs);
175 if ($this->sort == 'origin') {
H A Dplugin.php69 sort($list);
/dokuwiki/inc/Ui/
H A 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'];
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingDirchoice.php29 sort($list);
/dokuwiki/inc/
H A Dsearch.php26 * @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') {
66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort);
420 * fulltext sort
422 * Callback sort function for use with usort to sort the data
H A Dpluginutils.php36 sort($plugins, SORT_NATURAL | SORT_FLAG_CASE);
H A Dfulltext.php31 * @param string $sort
37 function ft_pageSearch($query, &$highlight, $sort = null, $after = null, $before = null)
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(
34 ft_pageSearch($query, & $highlight, $sort = null, $after = null, $before = null) global() argument
[all...]
H A DAjax.php110 Sort::sort($data);
220 $sort = $INPUT->post->bool('recent') ? 'date' : 'natural';
224 tpl_mediaContent(true, $sort);
416 // fixme sort results in a useful way ?
H A Dindexer.php317 sort($idx);
H A Dmedia.php707 * @param bool|string $sort sorting order, false skips sorting
709 function media_filelist($ns, $auth = null, $jump = '', $fullscreenview = false, $sort = false)
738 $sort
859 'sort' => ['sortBy', ['name', 'date']]
892 * @return string - sort type
896 return _media_get_display_param('sort', ['default' => 'name', 'date']);
1405 * @param string $sort
1407 function media_searchlist($query, $ns, $auth = null, $fullscreen = false, $sort = 'natural')
1437 $sort
1511 $media_manager_params = ['tab_files', 'tab_details', 'image', 'ns', 'list', 'sort'];
686 media_filelist($ns, $auth = null, $jump = '', $fullscreenview = false, $sort = false) global() argument
1340 media_searchlist($query, $ns, $auth = null, $fullscreen = false, $sort = 'natural') global() argument
[all...]
H A Dtemplate.php1408 * @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/lib/plugins/info/
H A Dsyntax.php32 * Where to sort in?
252 $compactmodes[$mode['sort']][] = $mode['mode'];
257 foreach ($compactmodes as $sort => $modes) {
271 $doc .= $sort;
/dokuwiki/lib/tpl/dokuwiki/images/
H A Dpagetools-build.php24 sort($input);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php1213 foreach ($this->sortOptions as $sort => $order) {
1214 if (!isset($a[$sort]) || !isset($b[$sort])) {
1215 if (isset($a[$sort])) {
1218 if (isset($b[$sort])) {
1223 switch ($sort) {
1231 $a[$sort] &= 07777;
1232 $b[$sort] &= 07777;
1235 if ($a[$sort] === $b[$sort]) {
[all...]
/dokuwiki/lib/plugins/extension/helper/
H A Dgui.php75 sort($tpllist);
/dokuwiki/vendor/geshi/geshi/
H A DBUGS17 making some sort of "cache" effect to speed things up and reduce server load.
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php439 sort($revs1);
562 sort($revs);
/dokuwiki/lib/plugins/extension/
H A Dcli.php312 sort($list);
/dokuwiki/lib/plugins/acl/
H A Dadmin.php45 * return sort order for position in admin menu
601 Sort::sort($this->specials);
620 Sort::sort($usersgroups);
/dokuwiki/
H A Dinstall.php681 sort($langs);
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php564 Sort::sort($groups);
/dokuwiki/conf/
H A Dmysql.conf.php.example109 * case dependent by the plugin. At the end a sort expression will be added.
/dokuwiki/lib/scripts/
H A Dmedia.js23 view_opts: {list: false, sort: false}, property in dw_mediamanager.view_opts
380 dw_mediamanager.set_fileview_opt(['sort', 'sortBy', function (new_sort) {
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_media_fullscreen.css214 background: url('../../images/icon-sort.png') 3px 1px no-repeat;

12