Lines Matching refs:return

43     if (!$dh) return;
89 * return values for files are ignored
110 * @return bool
119 return search_universal($data, $base, $file, $type, $lvl, $opts);
136 * @return bool
151 return search_universal($data, $base, $file, $type, $lvl, $opts);
166 * @return bool
171 return search_universal($data, $base, $file, $type, $lvl, $opts);
191 * @return bool
198 if (empty($opts['depth'])) return true; // recurse forever
200 if ($depth >= $opts['depth']) return false; // depth reached
201 return true;
209 return false; // skip non-valid files
215 return false;
220 return false;
239 return false;
259 * @return bool
266 if (empty($opts['depth'])) return true; // recurse forever
268 if ($depth >= $opts['depth']) return false; // depth reached
269 return true;
276 return false; // skip non-valid files
282 return false;
287 return false;
291 return false;
307 * @return bool
312 if ($type == 'd') return false;
318 return false;
322 return false;
339 * @return bool
344 if ($type == 'd') return true;
346 if (!str_ends_with($file, '.txt')) return true;
354 return false;
359 return true;
378 * @return bool
388 return false; // depth reached
394 return true;
398 if (!str_ends_with($file, '.txt')) return true;
403 return false;
414 return true;
430 * @return int
435 return -1;
437 return 1;
439 return Sort::strcmp($a['id'], $b['id']);
452 * @return string
460 return $id;
480 * meta bool return file metadata (default: false)
488 * firsthead bool return first heading for pages (default: false)
496 * @return bool if this directory should be traversed (true) or not (false)
497 * return value is ignored for files
504 $return = true;
512 return false; // skip non-valid files
519 $return = true; // recurse forever
523 $return = false; // depth reached
525 $return = true;
529 if ($return) {
532 return false; // doesn't match
550 if (empty($opts['listdirs'])) return $return;
552 if (empty($opts['skipacl']) && !empty($opts['sneakyacl']) && $item['perm'] < AUTH_READ) return false;
553 if (!empty($opts['dirmatch']) && !preg_match('/' . $opts['dirmatch'] . '/', $file)) return $return;
554 if (!empty($opts['nsmatch']) && !preg_match('/' . $opts['nsmatch'] . '/', $item['ns'])) return $return;
556 if (empty($opts['listfiles'])) return $return;
557 if (empty($opts['skipacl']) && $item['perm'] < AUTH_READ) return $return;
558 if (!empty($opts['pagesonly']) && !str_ends_with($file, '.txt')) return $return;
559 if (empty($opts['showhidden']) && isHiddenPage($item['id'])) return $return;
560 if (!empty($opts['filematch']) && !preg_match('/' . $opts['filematch'] . '/', $file)) return $return;
561 if (!empty($opts['idmatch']) && !preg_match('/' . $opts['idmatch'] . '/', $item['id'])) return $return;
567 $item['open'] = $return;
585 return $return;