setCrlf($crlf); $this->setCfg($cfg); $this->setDb($db); } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the export specific format plugin properties * * @return array */ public function getProperties() { return $this->properties; } /** * Sets the export plugins properties and is implemented by each export * plugin * * @return void */ abstract protected function setProperties(); /** * Gets the type of the newline character * * @return string */ public function getCrlf() { return $this->_crlf; } /** * Sets the type of the newline character * * @param String $crlf type of the newline character * * @return void */ protected function setCrlf($crlf) { $this->_crlf = $crlf; } /** * Gets the configuration settings * * @return array */ public function getCfg() { return $this->_cfg; } /** * Sets the configuration settings * * @param array $cfg array with configuration settings * * @return void */ protected function setCfg($cfg) { $this->_cfg = $cfg; } /** * Gets the database name * * @return string */ public function getDb() { return $this->_db; } /** * Sets the database name * * @param String $db database name * * @return void */ protected function setDb($db) { $this->_db = $db; } } ?>