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;
    }
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;
    }
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 ; }
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
Load project specific respondent model or general Gems model otherwise