public function setTarget($target)
    {
        if (!file_exists(dirname($target))) {

            throw new Zend_Filter_Exception("The directory '$target' does not exist");
        }

        $target = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $target);
        $this->_options['target'] = (string) $target;
        return $this;
    }
public function setTarget($target)
    {
        if (!file_exists(dirname($target))) {

            throw new Zend_Filter_Exception("The directory '$target' does not exist");
        }

        $target = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $target);
        $this->_options['target'] = (string) $target;
        return $this;
    }
public function setTarget ( $ target ) { if ( ! file_exists ( dirname ( $ target ) ) ) { throw new Zend_Filter_Exception ( "The directory '$target' does not exist" ) ; } $ target = str_replace ( array ( '/' , '\\' ) , DIRECTORY_SEPARATOR , $ target ) ; $ this -> _options [ 'target' ] = ( string ) $ target ; return $ this ; }
Sets the targetpath to use

@param string $target
@return Zend_Filter_Compress_Tar
Sets the targetpath to use