Lines Matching defs:after
32 * @param int|string $after only show results with mtime after this date, accepts timestap or strtotime arguments
37 function ft_pageSearch($query, &$highlight, $sort = null, $after = null, $before = null)
46 'after' => $after,
164 $docs = _ft_filterResultsByTime($docs, $data['after'], $data['before']);
258 * @param int|string $after only show results with mtime after this date, accepts timestap or strtotime arguments
263 function ft_pageLookup($id, $in_ns = false, $in_title = false, $after = null, $before = null)
269 'after' => $after,
347 $pages = _ft_filterResultsByTime($pages, $data['after'], $data['before']);
356 * @param int|string $after only returns results with mtime after this date, accepts timestap or strtotime arguments
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) {
364 $after = is_int($after) ? $after : strtotime($after);
369 if ($after && $after > $mTime) {
537 // continue matching after the current match