protected function render_course_enrolment_other_users_table(course_enrolment_other_users_table $table) {

        $table->initialise_javascript();

        $content = '';
        $searchbutton = $table->get_user_search_button();
        if ($searchbutton) {
            $content .= $this->output->render($searchbutton);
        }
        $content .= html_writer::tag('div', get_string('otheruserdesc', 'enrol'), array('class'=>'otherusersdesc'));
        $content .= $this->output->render($table->get_paging_bar());
        $content .= html_writer::table($table);
        $content .= $this->output->render($table->get_paging_bar());
        $searchbutton = $table->get_user_search_button();
        if ($searchbutton) {
            $content .= $this->output->render($searchbutton);
        }
        return $content;
    }
protected function render_course_enrolment_other_users_table(course_enrolment_other_users_table $table) {

        $table->initialise_javascript();

        $content = '';
        $searchbutton = $table->get_user_search_button();
        if ($searchbutton) {
            $content .= $this->output->render($searchbutton);
        }
        $content .= html_writer::tag('div', get_string('otheruserdesc', 'enrol'), array('class'=>'otherusersdesc'));
        $content .= $this->output->render($table->get_paging_bar());
        $content .= html_writer::table($table);
        $content .= $this->output->render($table->get_paging_bar());
        $searchbutton = $table->get_user_search_button();
        if ($searchbutton) {
            $content .= $this->output->render($searchbutton);
        }
        return $content;
    }
protected function render_course_enrolment_other_users_table ( course_enrolment_other_users_table $ table ) { $ table -> initialise_javascript ( ) ; $ content = '' ; $ searchbutton = $ table -> get_user_search_button ( ) ; if ( $ searchbutton ) { $ content .= $ this -> output -> render ( $ searchbutton ) ; } $ content .= html_writer :: tag ( 'div' , get_string ( 'otheruserdesc' , 'enrol' ) , array ( 'class' => 'otherusersdesc' ) ) ; $ content .= $ this -> output -> render ( $ table -> get_paging_bar ( ) ) ; $ content .= html_writer :: table ( $ table ) ; $ content .= $ this -> output -> render ( $ table -> get_paging_bar ( ) ) ; $ searchbutton = $ table -> get_user_search_button ( ) ; if ( $ searchbutton ) { $ content .= $ this -> output -> render ( $ searchbutton ) ; } return $ content ; }
Renders a course enrolment table

@param course_enrolment_table $table
@return string
Renders a course enrolment table