code: protected CmsVisitedByFilter getVisitedByFilter(CmsObject cms, String param) throws CmsException {
  
          CmsVisitedByFilter filter = new CmsVisitedByFilter();
          Map<String, String> params = getParameters(param);
  
          // initialize the filter
          initVisitedByFilter(filter, cms, params, true);
  
          return filter;
      }
docs: Returns the configured visited by filter to use.<p>
  
  @param cms the current users context
  @param param an optional collector parameter
  
  @return the configured visited by filter to use
  
  @throws CmsException if something goes wrong