Lines Matching refs:type

81  * string $type  - Type either 'd' for directory or 'f' for file
90 * one deeper nested) also make sure to check the file type (for example
102 * @param string $type
108 function search_qsearch(&$data,$base,$file,$type,$lvl,$opts){
114 return search_universal($data,$base,$file,$type,$lvl,$opts);
127 * @param string $type
133 function search_index(&$data,$base,$file,$type,$lvl,$opts){
145 return search_universal($data, $base, $file, $type, $lvl, $opts);
156 * @param string $type
162 function search_namespaces(&$data,$base,$file,$type,$lvl,$opts){
166 return search_universal($data,$base,$file,$type,$lvl,$opts);
182 * @param string $type
188 function search_media(&$data,$base,$file,$type,$lvl,$opts){
191 if($type == 'd') {
249 * @param string $type
255 function search_mediafiles(&$data,$base,$file,$type,$lvl,$opts){
258 if($type == 'd') {
296 * @param string $type
302 function search_list(&$data,$base,$file,$type,$lvl,$opts){
304 if($type == 'd') return false;
327 * @param string $type
333 function search_pagename(&$data,$base,$file,$type,$lvl,$opts){
335 if($type == 'd') return true;
365 * @param string $type
371 function search_allpages(&$data,$base,$file,$type,$lvl,$opts){
374 if(($type == 'd' && count($parts) >= $opts['depth'])
375 || ($type != 'd' && count($parts) > $opts['depth'])){
381 if($type == 'd'){
479 * @param string $type - Type either 'd' for directory or 'f' for file
487 function search_universal(&$data,$base,$file,$type,$lvl,$opts){
492 $item['id'] = pathID($file,($type == 'd' || !empty($opts['keeptxt'])));
501 if($type == 'd') {
524 if($type == 'd'){
534 if($type == 'd'){
550 $item['type'] = $type;
563 if($type == 'f'){