Lines Matching defs:before
33 * @param int|string $before only show results with mtime before this date, accepts timestap or strtotime arguments
37 function ft_pageSearch($query, &$highlight, $sort = null, $after = null, $before = null)
47 'before' => $before
164 $docs = _ft_filterResultsByTime($docs, $data['after'], $data['before']);
212 * Note that before 2013-07-31 the second parameter was the maximum number of results and
259 * @param int|string $before only show results with mtime before this date, accepts timestap or strtotime arguments
263 function ft_pageLookup($id, $in_ns = false, $in_title = false, $after = null, $before = null)
270 'before' => $before
347 $pages = _ft_filterResultsByTime($pages, $data['after'], $data['before']);
357 * @param int|string $before only returns results with mtime after this date, accepts timestap or strtotime arguments
361 function _ft_filterResultsByTime(array $results, $after, $before)
363 if ($after || $before) {
365 $before = is_int($before) ? $before : strtotime($before);
373 if ($before && $before < $mTime) {