Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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 = 2024041600 | |
$plugin | component = 'booktool_exportimscp' |
$plugin | version = 2024042200 |
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 |