public function setSurveyReturn($return = null)
    {
        if (null === $return) {
            $this->_unsetVar('surveyReturn');
            return $this;
        }

        if ($return instanceof \Zend_Controller_Request_Abstract) {
            $return = $return->getParams();
        } elseif (! is_array($return)) {
            $return = \MUtil_Ra::to($return);
        }
        if ('autofilter' == $return['action']) {
            $return['action'] = 'index';
        }

        $return = array_filter($return);
        // \MUtil_Echo::track($return);

        $this->_setVar('surveyReturn', $return);

        return $this;
    }
public function setSurveyReturn($return = null)
    {
        if (null === $return) {
            $this->_unsetVar('surveyReturn');
            return $this;
        }

        if ($return instanceof \Zend_Controller_Request_Abstract) {
            $return = $return->getParams();
        } elseif (! is_array($return)) {
            $return = \MUtil_Ra::to($return);
        }
        if ('autofilter' == $return['action']) {
            $return['action'] = 'index';
        }

        $return = array_filter($return);
        // \MUtil_Echo::track($return);

        $this->_setVar('surveyReturn', $return);

        return $this;
    }
public function setSurveyReturn ( $ return = null ) { if ( null === $ return ) { $ this -> _unsetVar ( 'surveyReturn' ) ; return $ this ; } if ( $ return instanceof \ Zend_Controller_Request_Abstract ) { $ return = $ return -> getParams ( ) ; } elseif ( ! is_array ( $ return ) ) { $ return = \ MUtil_Ra :: to ( $ return ) ; } if ( 'autofilter' == $ return [ 'action' ] ) { $ return [ 'action' ] = 'index' ; } $ return = array_filter ( $ return ) ; // \MUtil_Echo::track($return); $ this -> _setVar ( 'surveyReturn' , $ return ) ; return $ this ; }
Set the parameters where the survey should return to

@param mixed $return \Zend_Controller_Request_Abstract, array of something that can be turned into one.
@return \Gems_User_User
Set the parameters where the survey should return to