Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Topics | |
test | |
Directories | |
directory | classes |
| |
Namespaces | |
namespace | theme_classic\output |
Renderers to align Moodle's HTML with that expected by Bootstrap. | |
namespace | theme_classic\privacy |
Privacy Subsystem implementation for theme_classic. | |
Classes | |
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. | |
theme_classic_get_main_scss_content ($theme) | |
Returns the main SCSS content. | |
theme_classic_get_pre_scss ($theme) | |
Get SCSS to prepend. | |
theme_classic_get_precompiled_css () | |
Get compiled css. | |
theme_classic_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
Serves any files associated with the theme settings. | |
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 = 2023100400 | |
$renderer = $PAGE->get_renderer('core') | |
$templatecontext | |
$templatecontext | |
$templatecontext | |
$plugin | component = 'theme_classic' |
$plugin | dependencies = ['theme_boost' => 2023100400] |
$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 = 2023100900 |
$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 |