|
Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
|
Namespaces | |
| namespace | theme_classic\output |
| | |
| namespace | theme_classic\privacy |
| | |
Classes | |
| class | behat_theme_classic_behat_admin |
| class | behat_theme_classic_behat_blocks |
| class | behat_theme_classic_behat_completion |
| class | behat_theme_classic_behat_core_question |
| class | behat_theme_classic_behat_course |
| class | behat_theme_classic_behat_general |
| class | behat_theme_classic_behat_grade |
| class | behat_theme_classic_behat_grading |
| class | behat_theme_classic_behat_navigation |
| class | behat_theme_classic_behat_repository_upload |
| class | theme_classic\output\core_renderer |
| Renderers to align Moodle's HTML with that expected by Bootstrap. More... | |
| class | theme_classic\output\icon_system_fontawesome |
| Class overriding some of the Moodle default FontAwesome icons. More... | |
| class | theme_classic\privacy\provider |
| The classic theme does not store any data. More... | |
Functions | |
| theme_classic_get_extra_scss ($theme) | |
| Inject additional SCSS. More... | |
| theme_classic_get_main_scss_content ($theme) | |
| Returns the main SCSS content. More... | |
| theme_classic_get_pre_scss ($theme) | |
| Get SCSS to prepend. More... | |
| theme_classic_get_precompiled_css () | |
| Get compiled css. More... | |
| theme_classic_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
| Serves any files associated with the theme settings. More... | |
Variables | |
| $blockspost = $OUTPUT->blocks('side-post') | |
| $blockspost = $OUTPUT->blocks('side-post') | |
| $blockspre = $OUTPUT->blocks('side-pre') | |
| $blockspre = $OUTPUT->blocks('side-pre') | |
| $bodyattributes = $OUTPUT->body_attributes() | |
| $bodyattributes = $OUTPUT->body_attributes([]) | |
| $bodyattributes = $OUTPUT->body_attributes() | |
| $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT) | |
| $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT) | |
| $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT) | |
| $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT) | |
| $header = $PAGE->activityheader | |
| $headercontent = $header->export_for_template($renderer) | |
| $plugin = 2022041200 | |
| $renderer = $PAGE->get_renderer('core') | |
| $templatecontext | |
| $templatecontext | |
| $templatecontext | |
| $plugin | component = 'theme_classic' |
| $plugin | dependencies = array('theme_boost' => 2022041200) |
| $THEME | editor_sheets = [] |
| $THEME | enable_dock = false |
| $THEME | extrascsscallback = 'theme_classic_get_extra_scss' |
| $THEME | haseditswitch = false |
| $THEME | iconsystem = '\\theme_classic\\output\\icon_system_fontawesome' |
| if (empty( $PAGE->layout_options[ 'noactivityheader'])) | |
| $THEME | layouts |
| $THEME | name = 'classic' |
| $THEME | parents = ['boost'] |
| $THEME | precompiledcsscallback = 'theme_classic_get_precompiled_css' |
| $THEME | prescsscallback = 'theme_classic_get_pre_scss' |
| $THEME | rendererfactory = 'theme_overridden_renderer_factory' |
| $THEME | scss |
| $THEME | sheets = [] |
| $THEME | usefallback = true |
| $plugin | version = 2022041900 |
| $THEME | yuicssmodules = array() |
| theme_classic_get_extra_scss | ( | $theme | ) |
| theme_classic_get_main_scss_content | ( | $theme | ) |
Returns the main SCSS content.
| theme_config | $theme | The theme config object. |
| string |
| theme_classic_get_pre_scss | ( | $theme | ) |
| theme_classic_get_precompiled_css | ( | ) |
Get compiled css.
| string | compiled css |
| theme_classic_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 |
| $THEME scss |