original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Set the parameters where the survey should return to