function &_fetch(&$counter, $params) { $result =& parent::_fetch($counter, $params); $url_parser = new url_parser(PHP_SELF); foreach ($result as $key => $data) { if ($url_parser->compare($data['url'], $url_rest, $query_match)) { if ($url_rest >= 0) { $result[$key]['in_path'] = true; } } } return $result; }