Lines Matching +full:sort +(+path:plugin +path:indexmenu) -(+path:plugin +path:indexmenu +path:lang)
35 var $sort=false; variable in syntax_plugin_indexmenu_indexmenu
66 * Where to sort in?
132 //Main sort method
134 $sort='t';
136 $sort='d';
137 } else $sort=0;
138 //Directory sort
140 //Metadata sort method
144 //reverse sort
165 if ($sort) $jsajax .= "&sort=".$sort;
176 $sort,
258 $this->sort = $myns[2];
267 if ($this->sort || $this->msort || $this->rsort) {
588 $item['sort'] = $this->_setorder($item);
662 //Sort dirs
673 sort($dirs);
678 //Sort files
693 * Sort nodes
698 return strnatcasecmp($b['sort'], $a['sort']);
700 return strnatcasecmp($a['sort'], $b['sort']);
706 * Add sort information to item.
711 $sort=false;
714 ($this->nsort) ? $page=$item['hns'] : $sort=0;
718 if ($this->msort) $sort=p_get_metadata($page,$this->msort);
719 if (!$sort && $this->sort) {
720 switch ($this->sort) {
722 $sort=$item['title'];
725 $sort=@filectime(wikiFN($page));
730 if ($sort===false) $sort=noNS($item['id']);
731 return $sort;