Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Files | |
file | access.php |
Book module capability definition. | |
file | book_printed.php |
booktool_print book printed event. | |
file | chapter_printed.php |
booktool_print chapter printed event. | |
file | lib.php |
Print lib. | |
file | locallib.php |
Book print lib. | |
file | log.php |
Print booktool log events definition. | |
file | print_book_chapter_page.php |
Class containing data for the view book page. | |
file | print_book_page.php |
Class containing data for the view book page. | |
file | provider.php |
Privacy provider implementation for booktool_print. | |
file | renderer.php |
Defines the renderer for the book print tool. | |
file | version.php |
Book print plugin version info. | |
Namespaces | |
booktool_print\event | |
| |
booktool_print\output | |
| |
booktool_print\privacy | |
| |
Classes | |
class | booktool_print\event\book_printed |
booktool_print book printed event class. More... | |
class | booktool_print\event\chapter_printed |
booktool_print chapter printed event class. More... | |
class | booktool_print\output\print_book_chapter_page |
Class containing data for the print book page. More... | |
class | booktool_print\output\print_book_page |
Class containing data for the print book page. More... | |
class | booktool_print\output\renderer |
The renderer for the book print tool. More... | |
class | booktool_print\privacy\provider |
Privacy provider implementation for booktool_print. More... | |
Functions | |
booktool_print_extend_settings_navigation (settings_navigation $settings, navigation_node $node) | |
Adds module specific settings to the settings block. More... | |
booktool_print_get_toc ($chapters, $book, $cm) | |
Generate toc structure and titles. More... | |
booktool_print_get_view_actions () | |
Return read actions. More... | |
Variables | |
$capabilities | |
$logs | |
$plugin | component = 'booktool_print' |
$plugin | requires = 2019111200 |
$plugin | version = 2019111800 |
booktool_print_extend_settings_navigation | ( | settings_navigation | $settings, |
navigation_node | $node | ||
) |
Adds module specific settings to the settings block.
settings_navigation | $settings | The settings navigation object |
navigation_node | $node | The node to add module settings to |
booktool_print_get_toc | ( | $chapters, | |
$book, | |||
$cm | |||
) |
Generate toc structure and titles.
array | $chapters | |
stdClass | $book | |
stdClass | $cm |
array |
booktool_print_get_view_actions | ( | ) |
Return read actions.
Note: This is not used by new logging system. Event with crud = 'r' and edulevel = LEVEL_PARTICIPATING will be considered as view action.
array |
$capabilities |
$logs |