setSeparator($separator); } /** * Sets a new seperator * * @param string $separator Seperator * @return $this */ public function setSeparator($separator) { if ($separator == null) { require_once 'Zend/Filter/Exception.php'; throw new Zend_Filter_Exception('"' . $separator . '" is not a valid separator.'); } $this->_separator = $separator; return $this; } /** * Returns the actual set seperator * * @return string */ public function getSeparator() { return $this->_separator; } }