Lines Matching defs:data
20 * @param array &$data The results of the search are stored here
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural')
65 if (call_user_func_array($func, [&$data, $base, $dir, 'd', $lvl, $opts])) {
66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort);
71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]);
82 * array &$data - Reference to the result data structure
103 * @param array $data
112 function search_qsearch(&$data, $base, $file, $type, $lvl, $opts)
119 return search_universal($data, $base, $file, $type, $lvl, $opts);
129 * @param array $data
138 function search_index(&$data, $base, $file, $type, $lvl, $opts)
151 return search_universal($data, $base, $file, $type, $lvl, $opts);
159 * @param array $data
168 function search_namespaces(&$data, $base, $file, $type, $lvl, $opts)
171 return search_universal($data, $base, $file, $type, $lvl, $opts);
184 * @param array $data
193 function search_media(&$data, $base, $file, $type, $lvl, $opts)
237 $data[] = $info;
252 * @param array $data
261 function search_mediafiles(&$data, $base, $file, $type, $lvl, $opts)
290 $data[] = new MediaFile($id);
300 * @param array $data
309 function search_list(&$data, $base, $file, $type, $lvl, $opts)
320 $data[]['id'] = $id;
332 * @param array $data
341 function search_pagename(&$data, $base, $file, $type, $lvl, $opts)
356 $data[]['id'] = $id;
371 * @param array $data
380 function search_allpages(&$data, $base, $file, $type, $lvl, $opts)
413 $data[] = $item;
422 * Callback sort function for use with usort to sort the data
490 * @param array &$data - Reference to the result data structure
501 function search_universal(&$data, $base, $file, $type, $lvl, $opts)
584 $data[] = $item;