Pagination option in html_table()

Re: Pagination option in html_table()

by Colin Fraser -
Number of replies: 1
Picture of Documentation writers Picture of Testers

No, pagination does not work like you are thinking of. The work around, I suggest, is to use a Book resource or perhaps a Lesson. One of these should suit your need I would think. 

In reply to Colin Fraser

Re: Pagination option in html_table()

by Nilesh Pathade -

Thanks Colln for reply..


I have used 


$baseurl = new moodle_url('/course/format/classroom/manage_location.php', array('sort' => 'location', 'dir' => 'ASC','perpage' => $perpage));
echo $OUTPUT->paging_bar(count($results), $page, $perpage, $baseurl);