Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
booktool_print\output\print_book_chapter_page Class Reference

Class containing data for the print book page. More...

Inheritance diagram for booktool_print\output\print_book_chapter_page:
renderable templatable

Public Member Functions

 __construct ($book, $cm, $chapter)
 Construct this renderable.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Protected Attributes

object $book
 $book The book object.
 
object $chapter
 $chapter The book chapter object.
 
object $cm
 $cm The course module object.
 

Detailed Description

Class containing data for the print book page.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

booktool_print\output\print_book_chapter_page::__construct ( $book,
$cm,
$chapter )

Construct this renderable.

Parameters
object$bookThe book
object$cmThe course module
object$chapterThe book chapter

Member Function Documentation

◆ export_for_template()

booktool_print\output\print_book_chapter_page::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


The documentation for this class was generated from the following file: