Пример #1
0
 function __construct(READER $rdr, LOGGROUP $grp, DATAFilter $filter, &$opts = NULL)
 {
     if ($rdr instanceof CACHEReader && !$opts['filter_cache_reader']) {
         $this->skip = true;
     } else {
         $this->skip = false;
         if (is_array($opts)) {
             if ($opts["check_precise"] && !$rdr instanceof CACHEReader) {
                 $rep = new NULLFilterAllowedMaskReporter($rdr, $grp);
             } else {
                 $rep = NULL;
             }
         }
         parent::__construct($opts, $rep);
         if (!isset($opts["ignore_invalid_data"])) {
             $this->report_invalid_data = !$rdr->GetGroupOption($grp, "ignore_invalid_data", false);
         }
     }
 }