Differences Between: [Versions 39 and 311]
Defines the renderer for the book print tool.
Copyright: | 2019 Mihail Geshoski |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 208 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
renderer:: (6 methods):
render_print_book_page()
render_print_book_chapter_page()
render_print_book_chapter_dialog_link()
render_print_book_dialog_link()
render_print_book_toc()
render_print_book_chapter()
render_print_book_page(print_book_page $page) X-Ref |
Render the print book page. param: print_book_page $page return: string html for the page |
render_print_book_chapter_page(print_book_chapter_page $page) X-Ref |
Render the print book chapter page. param: print_book_chapter_page $page return: string html for the page |
render_print_book_chapter_dialog_link() X-Ref |
Render the print book chapter link. return: string html for the link |
render_print_book_dialog_link() X-Ref |
Render the print book link. return: string html for the link |
render_print_book_toc($chapters, $book, $cm) X-Ref |
Render the print book table of contents. param: array $chapters Array of book chapters param: object $book The book object param: object $cm The curse module object return: string html for the TOC |
render_print_book_chapter($chapter, $chapters, $book, $cm) X-Ref |
Render the print book chapter. param: object $chapter The book chapter object param: array $chapters The array of book chapters param: object $book The book object param: object $cm The course module object return: array The array containing the content of the book chapter and visibility information |