original_string: public function getRespondentModel($detailed)
      {
          static $isDetailed;
          static $model;
  
          if ($model && ($isDetailed === $detailed)) {
              return $model;
          }
  
          $isDetailed = $detailed;
          $model      = $this->createRespondentModel();
  
          if ($detailed) {
              $model->applyDetailSettings();
          } else {
              $model->applyBrowseSettings();
          }
  
          return $model;
      }
code: public function getRespondentModel($detailed)
      {
          static $isDetailed;
          static $model;
  
          if ($model && ($isDetailed === $detailed)) {
              return $model;
          }
  
          $isDetailed = $detailed;
          $model      = $this->createRespondentModel();
  
          if ($detailed) {
              $model->applyDetailSettings();
          } else {
              $model->applyBrowseSettings();
          }
  
          return $model;
      }
code_tokens: public function getRespondentModel ( $ detailed ) { static $ isDetailed ; static $ model ; if ( $ model && ( $ isDetailed === $ detailed ) ) { return $ model ; } $ isDetailed = $ detailed ; $ model = $ this -> createRespondentModel ( ) ; if ( $ detailed ) { $ model -> applyDetailSettings ( ) ; } else { $ model -> applyBrowseSettings ( ) ; } return $ model ; }
docstring: Load project specific respondent model or general Gems model otherwise
  
  @param boolean $detail When true more information needed for individual item display is added to the model.
  @return \Gems_Model_RespondentModel
docstring_tokens: Load project specific respondent model or general Gems model otherwise