original_string: public function addHeaderInfo(\MUtil_Html_HtmlElement $htmlDiv)
      {
          $htmlDiv->h3(sprintf($this->_('%s answers for patient number %s'), $this->token->getSurveyName(), $this->token->getPatientNumber()));
  
          if (! $this->currentUser->isFieldMaskedWhole('name')) {
              $htmlDiv->pInfo(sprintf(
                      $this->_('Answers for token %s, patient number %s: %s.'),
                      strtoupper($this->tokenId),
                      $this->token->getPatientNumber(),
                      $this->token->getRespondentName()))
                      ->appendAttrib('class', 'noprint');
          }
      }
code: public function addHeaderInfo(\MUtil_Html_HtmlElement $htmlDiv)
      {
          $htmlDiv->h3(sprintf($this->_('%s answers for patient number %s'), $this->token->getSurveyName(), $this->token->getPatientNumber()));
  
          if (! $this->currentUser->isFieldMaskedWhole('name')) {
              $htmlDiv->pInfo(sprintf(
                      $this->_('Answers for token %s, patient number %s: %s.'),
                      strtoupper($this->tokenId),
                      $this->token->getPatientNumber(),
                      $this->token->getRespondentName()))
                      ->appendAttrib('class', 'noprint');
          }
      }
code_tokens: public function addHeaderInfo ( \ MUtil_Html_HtmlElement $ htmlDiv ) { $ htmlDiv -> h3 ( sprintf ( $ this -> _ ( '%s answers for patient number %s' ) , $ this -> token -> getSurveyName ( ) , $ this -> token -> getPatientNumber ( ) ) ) ; if ( ! $ this -> currentUser -> isFieldMaskedWhole ( 'name' ) ) { $ htmlDiv -> pInfo ( sprintf ( $ this -> _ ( 'Answers for token %s, patient number %s: %s.' ) , strtoupper ( $ this -> tokenId ) , $ this -> token -> getPatientNumber ( ) , $ this -> token -> getRespondentName ( ) ) ) -> appendAttrib ( 'class' , 'noprint' ) ; } }
docstring: Add elements that form the header
  
  @param \MUtil_Html_HtmlElement $htmlDiv
docstring_tokens: Add elements that form the header