public function getEditTitle()
    {
        $respondent = $this->getRespondent();
        if ($respondent->exists) {
            if ($this->currentUser->areAllFieldsMaskedWhole('grs_first_name', 'grs_last_name')) {
                return sprintf($this->_('Edit respondent nr %s'), $respondent->getPatientNumber());
            }
            return sprintf(
                    $this->_('Edit respondent nr %s: %s'),
                    $respondent->getPatientNumber(),
                    $respondent->getName()
                    );
        }
        return parent::getEditTitle();
    }
public function getEditTitle()
    {
        $respondent = $this->getRespondent();
        if ($respondent->exists) {
            if ($this->currentUser->areAllFieldsMaskedWhole('grs_first_name', 'grs_last_name')) {
                return sprintf($this->_('Edit respondent nr %s'), $respondent->getPatientNumber());
            }
            return sprintf(
                    $this->_('Edit respondent nr %s: %s'),
                    $respondent->getPatientNumber(),
                    $respondent->getName()
                    );
        }
        return parent::getEditTitle();
    }
public function getEditTitle ( ) { $ respondent = $ this -> getRespondent ( ) ; if ( $ respondent -> exists ) { if ( $ this -> currentUser -> areAllFieldsMaskedWhole ( 'grs_first_name' , 'grs_last_name' ) ) { return sprintf ( $ this -> _ ( 'Edit respondent nr %s' ) , $ respondent -> getPatientNumber ( ) ) ; } return sprintf ( $ this -> _ ( 'Edit respondent nr %s: %s' ) , $ respondent -> getPatientNumber ( ) , $ respondent -> getName ( ) ) ; } return parent :: getEditTitle ( ) ; }
Helper function to get the title for the edit action.

@return $string
Helper function to get the title for the edit action .