original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Helper function to get the title for the edit action.
  
  @return $string
docstring_tokens: Helper function to get the title for the edit action .