public function getTopic($count = 1)
    {
        $respondent = $this->getRespondent();
        $patientId  = $respondent->getPatientNumber();
        if ($patientId) {
            if ($this->currentUser->areAllFieldsMaskedWhole('grs_first_name', 'grs_surname_prefix', 'grs_last_name')) {
                $for = sprintf($this->_('for respondent number %s'), $patientId);
            } else {
                $for = sprintf($this->_('for respondent number %s'), $patientId);
            }
            $for = ' ' . $for;
        } else {
            $for = '';
        }
        return $this->plural('episode of care', 'episodes of care', $count) . $for;
    }
public function getTopic($count = 1)
    {
        $respondent = $this->getRespondent();
        $patientId  = $respondent->getPatientNumber();
        if ($patientId) {
            if ($this->currentUser->areAllFieldsMaskedWhole('grs_first_name', 'grs_surname_prefix', 'grs_last_name')) {
                $for = sprintf($this->_('for respondent number %s'), $patientId);
            } else {
                $for = sprintf($this->_('for respondent number %s'), $patientId);
            }
            $for = ' ' . $for;
        } else {
            $for = '';
        }
        return $this->plural('episode of care', 'episodes of care', $count) . $for;
    }
public function getTopic ( $ count = 1 ) { $ respondent = $ this -> getRespondent ( ) ; $ patientId = $ respondent -> getPatientNumber ( ) ; if ( $ patientId ) { if ( $ this -> currentUser -> areAllFieldsMaskedWhole ( 'grs_first_name' , 'grs_surname_prefix' , 'grs_last_name' ) ) { $ for = sprintf ( $ this -> _ ( 'for respondent number %s' ) , $ patientId ) ; } else { $ for = sprintf ( $ this -> _ ( 'for respondent number %s' ) , $ patientId ) ; } $ for = ' ' . $ for ; } else { $ for = '' ; } return $ this -> plural ( 'episode of care' , 'episodes of care' , $ count ) . $ for ; }
Helper function to allow generalized statements about the items in the model.

@param int $count
@return $string
Helper function to allow generalized statements about the items in the model .