Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | admin_settingspage_tabs.php |
file | autoprefixer.php |
Autoprefixer. | |
file | columns1.php |
A one column layout for the boost theme. | |
file | columns2.php |
A two column layout for the boost theme. | |
file | config.php |
Boost config. | |
file | core_renderer.php |
Renderers to align Moodle's HTML with that expected by Bootstrap. | |
file | embedded.php |
An embedded layout for the boost theme. | |
file | lib.php |
Theme functions. | |
file | login.php |
A login page layout for the boost theme. | |
file | maintenance.php |
A maintenance layout for the boost theme. | |
file | provider.php |
Privacy Subsystem implementation for theme_boost. | |
file | secure.php |
A secure layout for the boost theme. | |
file | settings.php |
file | version.php |
Boost. | |
Namespaces | |
namespace | theme_boost |
| |
namespace | theme_boost\output |
| |
namespace | theme_boost\privacy |
| |
Classes | |
class | theme_boost\autoprefixer |
Autoprefixer class. More... | |
class | theme_boost\output\core_renderer |
class | theme_boost\privacy\provider |
The boost theme stores a user preference data. More... | |
class | theme_boost_admin_settingspage_tabs |
Functions | |
theme_boost_css_tree_post_processor ($tree, $theme) | |
Post process the CSS tree. More... | |
theme_boost_get_extra_scss ($theme) | |
Inject additional SCSS. More... | |
theme_boost_get_main_scss_content ($theme) | |
Returns the main SCSS content. More... | |
theme_boost_get_pre_scss ($theme) | |
Get SCSS to prepend. More... | |
theme_boost_get_precompiled_css () | |
Get compiled css. More... | |
theme_boost_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
Serves any files associated with the theme settings. More... | |
Variables | |
$blockshtml = $OUTPUT->blocks('side-pre') | |
$blockshtml = $OUTPUT->blocks('side-pre') | |
$bodyattributes = $OUTPUT->body_attributes([]) | |
if($navdraweropen) | $bodyattributes = $OUTPUT->body_attributes($extraclasses) |
$bodyattributes = $OUTPUT->body_attributes() | |
$bodyattributes = $OUTPUT->body_attributes() | |
$buildregionmainsettings = !$PAGE->include_region_main_settings_in_header_actions() | |
$extraclasses = [] | |
$hasblocks = strpos($blockshtml, 'data-block=') !== false | |
$hasblocks = strpos($blockshtml, 'data-block=') !== false | |
$nav = $PAGE->flatnav | |
$plugin = 2020060900 | |
$regionmainsettingsmenu = $buildregionmainsettings ? $OUTPUT->region_main_settings_menu() : false | |
$templatecontext | |
$templatecontext | |
$templatecontext ['firstcollectionlabel'] = $nav->get_collectionlabel() | |
$templatecontext ['flatnavigation'] = $nav | |
$templatecontext | |
$templatecontext | |
$templatecontext | |
$templatecontext | |
$THEME | addblockposition = BLOCK_ADDBLOCK_POSITION_FLATNAV |
$plugin | component = 'theme_boost' |
$THEME | csstreepostprocessor = 'theme_boost_css_tree_post_processor' |
$THEME | editor_scss = ['editor'] |
$THEME | editor_sheets = [] |
if(isloggedin()) | else |
$THEME | enable_dock = false |
$THEME | extrascsscallback = 'theme_boost_get_extra_scss' |
$THEME | iconsystem = core\output\icon_system::FONTAWESOME |
$THEME | layouts |
$THEME | name = 'boost' |
$THEME | parents = [] |
$THEME | precompiledcsscallback = 'theme_boost_get_precompiled_css' |
$THEME | prescsscallback = 'theme_boost_get_pre_scss' |
$THEME | rendererfactory = 'theme_overridden_renderer_factory' |
$THEME | requiredblocks = '' |
$THEME | scss |
$THEME | sheets = [] |
$THEME | usefallback = true |
$plugin | version = 2020061500 |
$THEME | yuicssmodules = array() |
theme_boost_css_tree_post_processor | ( | $tree, | |
$theme | |||
) |
Post process the CSS tree.
string | $tree | The CSS tree. |
theme_config | $theme | The theme config object. |
theme_boost_get_extra_scss | ( | $theme | ) |
theme_boost_get_main_scss_content | ( | $theme | ) |
Returns the main SCSS content.
theme_config | $theme | The theme config object. |
string |
theme_boost_get_pre_scss | ( | $theme | ) |
theme_boost_get_precompiled_css | ( | ) |
Get compiled css.
string | compiled css |
theme_boost_pluginfile | ( | $course, | |
$cm, | |||
$context, | |||
$filearea, | |||
$args, | |||
$forcedownload, | |||
array | $options = array() |
||
) |
Serves any files associated with the theme settings.
stdClass | $course | |
stdClass | $cm | |
context | $context | |
string | $filearea | |
array | $args | |
bool | $forcedownload | |
array | $options |
bool |
$templatecontext |
$templatecontext |
$templatecontext |
$templatecontext |
$templatecontext |
$templatecontext |
if (isloggedin()) else |
$THEME scss |