Пример #1
0
 public function handleFile(&$file)
 {
     // Filter berücksichtigen
     if (strlen($this->filter) == 0 or preg_match("/({$this->filter})/{$this->i}", $file)) {
         parent::handleFile($file);
     }
 }
Пример #2
0
 /**
  * verarbeitet gefundene Dateien
  *
  * @param string $file
  */
 protected function handleFile(&$file)
 {
     // TS der letzten Änderung vergleichen
     $mtimeComparison = $this->compareMtime($this->mtime, filemtime($file));
     if (!in_array($mtimeComparison, $this->mtimeOperator)) {
         return;
     }
     parent::handleFile($file);
 }