Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Directories | |
directory | classes |
| |
Files | |
file | access.php |
Book module capability definition. | |
file | book_exported.php |
booktool_exportimscp book exported event. | |
file | lib.php |
IMSCP export lib. | |
file | locallib.php |
Book imscp export lib. | |
file | log.php |
Export to IMSCP booktool log events definition. | |
file | provider.php |
Privacy provider implementation for booktool_exportimscp. | |
file | version.php |
Book IMSCP export plugin version info. | |
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 = 2022111800 | |
$plugin | component = 'booktool_exportimscp' |
$plugin | version = 2022112800 |
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 |