original_string: public static function get_current_tour($reset = false) {
          global $PAGE;
  
          static $tour = false;
  
          if ($tour === false || $reset) {
              $tour = self::get_matching_tours($PAGE->url);
          }
  
          return $tour;
      }
code: public static function get_current_tour($reset = false) {
          global $PAGE;
  
          static $tour = false;
  
          if ($tour === false || $reset) {
              $tour = self::get_matching_tours($PAGE->url);
          }
  
          return $tour;
      }
code_tokens: public static function get_current_tour ( $ reset = false ) { global $ PAGE ; static $ tour = false ; if ( $ tour === false || $ reset ) { $ tour = self :: get_matching_tours ( $ PAGE -> url ) ; } return $ tour ; }
docstring: Get the first tour matching the current page URL.
  
  @param   bool        $reset      Forcibly update the current tour
  @return  tour
docstring_tokens: Get the first tour matching the current page URL .