protected function _setupViewVars()
    {
        foreach ($this->_specialVars as $viewVar) {
            if (!isset($this->viewVars[$viewVar])) {
                $this->viewVars[$viewVar] = null;
            }
        }

        if ($this->viewVars['_delimiter'] === null) {
            $this->viewVars['_delimiter'] = ',';
        }

        if ($this->viewVars['_enclosure'] === null) {
            $this->viewVars['_enclosure'] = '"';
        }

        if ($this->viewVars['_newline'] === null) {
            $this->viewVars['_newline'] = "\n";
        }

        if ($this->viewVars['_eol'] === null) {
            $this->viewVars['_eol'] = PHP_EOL;
        }

        if ($this->viewVars['_null'] === null) {
            $this->viewVars['_null'] = '';
        }

        if ($this->viewVars['_bom'] === null) {
            $this->viewVars['_bom'] = false;
        }

        if ($this->viewVars['_setSeparator'] === null) {
            $this->viewVars['_setSeparator'] = false;
        }

        if ($this->viewVars['_dataEncoding'] === null) {
            $this->viewVars['_dataEncoding'] = 'UTF-8';
        }

        if ($this->viewVars['_csvEncoding'] === null) {
            $this->viewVars['_csvEncoding'] = 'UTF-8';
        }

        if ($this->viewVars['_extension'] === null) {
            $this->viewVars['_extension'] = self::EXTENSION_ICONV;
        }

        if ($this->viewVars['_extract'] !== null) {
            $this->viewVars['_extract'] = (array)$this->viewVars['_extract'];
        }
    }