inputTeX = $tex; $this->isValid = false; } /** * Returns true if the TeX input String is valid * @return bool */ public function isValid() { return $this->isValid; } /** * Returns the string of the last error. * @return string */ public function getError() { return $this->lastError; } /** * Some TeX checking programs may return * a modified tex string after having checked it. * You can get the altered tex string with this method * @return string A valid Tex string */ public function getValidTex() { return $this->validTeX; } }