Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
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. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

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: