protected function view_notices($title, $notices) {
        global $CFG;

        $o = '';

        $header = new assign_header($this->get_instance(),
                                    $this->get_context(),
                                    $this->show_intro(),
                                    $this->get_course_module()->id,
                                    $title);
        $o .= $this->get_renderer()->render($header);

        foreach ($notices as $notice) {
            $o .= $this->get_renderer()->notification($notice);
        }

        $url = new moodle_url('/mod/assign/view.php', array('id'=>$this->get_course_module()->id, 'action'=>'view'));
        $o .= $this->get_renderer()->continue_button($url);

        $o .= $this->view_footer();

        return $o;
    }
protected function view_notices($title, $notices) {
        global $CFG;

        $o = '';

        $header = new assign_header($this->get_instance(),
                                    $this->get_context(),
                                    $this->show_intro(),
                                    $this->get_course_module()->id,
                                    $title);
        $o .= $this->get_renderer()->render($header);

        foreach ($notices as $notice) {
            $o .= $this->get_renderer()->notification($notice);
        }

        $url = new moodle_url('/mod/assign/view.php', array('id'=>$this->get_course_module()->id, 'action'=>'view'));
        $o .= $this->get_renderer()->continue_button($url);

        $o .= $this->view_footer();

        return $o;
    }
protected function view_notices ( $ title , $ notices ) { global $ CFG ; $ o = '' ; $ header = new assign_header ( $ this -> get_instance ( ) , $ this -> get_context ( ) , $ this -> show_intro ( ) , $ this -> get_course_module ( ) -> id , $ title ) ; $ o .= $ this -> get_renderer ( ) -> render ( $ header ) ; foreach ( $ notices as $ notice ) { $ o .= $ this -> get_renderer ( ) -> notification ( $ notice ) ; } $ url = new moodle_url ( '/mod/assign/view.php' , array ( 'id' => $ this -> get_course_module ( ) -> id , 'action' => 'view' ) ) ; $ o .= $ this -> get_renderer ( ) -> continue_button ( $ url ) ; $ o .= $ this -> view_footer ( ) ; return $ o ; }
Message for students when assignment submissions have been closed.

@param string $title The page title
@param array $notices The array of notices to show.
@return string
Message for students when assignment submissions have been closed .