Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
booktool_print\output\print_book_page Class Reference

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

Inheritance diagram for booktool_print\output\print_book_page:
renderable templatable

Public Member Functions

 __construct ($book, $cm)
 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 $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_page::__construct ( $book,
$cm )

Construct this renderable.

Parameters
object$bookThe book
object$cmThe course module

Member Function Documentation

◆ export_for_template()

booktool_print\output\print_book_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: