setError($error); $this->setTimeoutPassed($timeout_passed); } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the import specific format plugin properties * * @return array */ public function getProperties() { return $this->properties; } /** * Sets the export plugins properties and is implemented by each import * plugin * * @return void */ abstract protected function setProperties(); /** * Finds out whether there was an error during the import * * @return string */ protected function getError() { return $this->_error; } /** * Sets to true if there was an error during the import, false otherwise * * @param bool $error whether there was an error during the import * * @return void */ protected function setError($error) { $this->_error = $error; } /** * Finds out whether the timeout passed before the import finished * * @return string */ protected function getTimeoutPassed() { return $this->_timeoutPassed; } /** * Sets to true if the timeout passed * * @param bool $timeoutPassed whether the timeout passed before the import * finished * * @return void */ protected function setTimeoutPassed($timeoutPassed) { $this->_timeoutPassed = $timeoutPassed; } } ?>