PressBooks\Modules\Export\Odt\Odt::validate PHP Метод

validate() публичный Метод

Check the sanity of $this->outputPath
public validate ( ) : boolean
Результат boolean
    function validate()
    {
        // Is this an ODT?
        if (!$this->isOdt($this->outputPath)) {
            $this->logError(file_get_contents($this->logfile));
            return false;
        }
        return true;
    }