function validate() { // Is this an ODT? if (!$this->isOdt($this->outputPath)) { $this->logError(file_get_contents($this->logfile)); return false; } return true; }