Lines Matching defs:a

25  * Returns a list of matching documents for the given query
55 * Returns a list of matching documents for the given query
178 * Returns the backlinks for a given page
208 * Returns the pages that use a given media file
384 * from the search index. This function is a wrapper around stripos with
410 * @param string $a
412 * @return int Returns < 0 if $a is less than $b; > 0 if $a is greater than $b, and 0 if they are equal.
414 function ft_pagesorter($a, $b)
416 $ac = count(explode(':', $a));
423 return Sort::strcmp($a, $b);
429 * @param string $a
432 * @return int Returns < 0 if $a is newer than $b, > 0 if $b is newer than $a and 0 if they are of the same age
434 function ft_pagemtimesorter($a, $b)
436 $mtimeA = filemtime(wikiFN($a));
442 * Creates a snippet extract
472 // build a regexp from the phrases to highlight
499 // convert $idx (a byte offset) into a utf8 character offset
563 * Wraps a search term in regex boundary checks.
575 // see http://stackoverflow.com/a/2449017/172068
603 * This function is used to combine searched words with a logical
687 * Parses a search query and builds an array of search formulas
699 * parse a search query and transform it into intermediate representation
701 * in a search query, you can use the following expressions:
719 * e.g. a query [ aa "bb cc" @dd:ee ] means "search pages which contain
720 * a word 'aa', a phrase 'bb cc' and are within a namespace 'dd:ee'".
942 // successive asian characters need to be searched as a phrase
968 * Recreate a search query string based on parsed parts, doesn't support negated phrases and `OR` searches