public function setMode($mode = null, $ignoreIfRenderModeNotAvailable = true)
    {
        $this->_mode = (null === $mode || '' === $mode ? null : $mode);
        $this->_ignoreIfRenderModeNotAvailable = $ignoreIfRenderModeNotAvailable;

        return $this;
    }
public function setMode($mode = null, $ignoreIfRenderModeNotAvailable = true)
    {
        $this->_mode = (null === $mode || '' === $mode ? null : $mode);
        $this->_ignoreIfRenderModeNotAvailable = $ignoreIfRenderModeNotAvailable;

        return $this;
    }
public function setMode ( $ mode = null , $ ignoreIfRenderModeNotAvailable = true ) { $ this -> _mode = ( null === $ mode || '' === $ mode ? null : $ mode ) ; $ this -> _ignoreIfRenderModeNotAvailable = $ ignoreIfRenderModeNotAvailable ; return $ this ; }
Set the rendering mode.

@codeCoverageIgnore

@param string  $mode
@param Boolean $ignoreIfRenderModeNotAvailable Ignore the rendering if specified render mode is not
available if TRUE, use the default template otherwise
@return AbstractRenderer The current renderer
Set the rendering mode .