public function quiz_notices($messages) {
        if (!$messages) {
            return '';
        }
        return $this->box($this->heading(get_string('accessnoticesheader', 'quiz'), 3) .
                $this->access_messages($messages), 'quizaccessnotices');
    }
public function quiz_notices($messages) {
        if (!$messages) {
            return '';
        }
        return $this->box($this->heading(get_string('accessnoticesheader', 'quiz'), 3) .
                $this->access_messages($messages), 'quizaccessnotices');
    }
public function quiz_notices ( $ messages ) { if ( ! $ messages ) { return '' ; } return $ this -> box ( $ this -> heading ( get_string ( 'accessnoticesheader' , 'quiz' ) , 3 ) . $ this -> access_messages ( $ messages ) , 'quizaccessnotices' ) ; }
Returns any notices.

@param array $messages
Returns any notices .