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');
        }
    }
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');
        }
    }
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' ) ; } }
Add elements that form the header

@param \MUtil_Html_HtmlElement $htmlDiv
Add elements that form the header