Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Namespaces | |
namespace | booktool_exportimscp\event |
| |
namespace | booktool_exportimscp\privacy |
| |
Classes | |
class | booktool_exportimscp\event\book_exported |
booktool_exportimscp book exported event class. More... | |
class | booktool_exportimscp\privacy\provider |
Privacy provider implementation for booktool_exportimscp. More... | |
Functions | |
booktool_exportimscp_build_package ($book, $context) | |
Export one book as IMSCP package. | |
booktool_exportimscp_chapter_content ($chapter, $context) | |
Returns the html contents of one book's chapter to be exported as IMSCP. | |
booktool_exportimscp_extend_settings_navigation (settings_navigation $settings, navigation_node $node) | |
Adds module specific settings to the settings block. | |
booktool_exportimscp_prepare_files ($book, $context) | |
Prepare temp area with the files used by book html contents. | |
Variables | |
$capabilities | |
$logs | |
$plugin = 2023041800 | |
$plugin | component = 'booktool_exportimscp' |
$plugin | version = 2023042400 |
booktool_exportimscp_build_package | ( | $book, | |
$context ) |
Export one book as IMSCP package.
stdClass | $book | book instance |
context_module | $context |
bool|stored_file |
booktool_exportimscp_chapter_content | ( | $chapter, | |
$context ) |
Returns the html contents of one book's chapter to be exported as IMSCP.
stdClass | $chapter | the chapter to be exported |
context_module | $context | context the chapter belongs to |
string | the contents of the chapter |
booktool_exportimscp_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_exportimscp_prepare_files | ( | $book, | |
$context ) |
Prepare temp area with the files used by book html contents.
stdClass | $book | book instance |
context_module | $context |
$capabilities |
$logs |