|
| context_header ($headerinfo=null, $headinglevel=1) |
| Renders the context header for the page.
|
|
| edit_button (moodle_url $url, string $method='post') |
| Returns HTML to display a "Turn editing on/off" button in a form.
|
|
| firstview_fakeblocks () |
| See if this is the first view of the current cm in the session if it has fake blocks.
|
|
| navbar () |
| Renders the "breadcrumb" for all pages in boost.
|
|
◆ context_header()
theme_boost\output\core_renderer::context_header |
( |
| $headerinfo = null, |
|
|
| $headinglevel = 1 ) |
Renders the context header for the page.
- Parameters
-
array | $headerinfo | Heading information. |
int | $headinglevel | What 'h' level to make the heading. |
- Return values
-
string | A rendered context header. |
◆ edit_button()
theme_boost\output\core_renderer::edit_button |
( |
moodle_url | $url, |
|
|
string | $method = 'post' ) |
Returns HTML to display a "Turn editing on/off" button in a form.
- Parameters
-
moodle_url | $url | The URL + params to send through when clicking the button |
string | $method | |
- Return values
-
◆ firstview_fakeblocks()
theme_boost\output\core_renderer::firstview_fakeblocks |
( |
| ) |
|
See if this is the first view of the current cm in the session if it has fake blocks.
(We track up to 100 cms so as not to overflow the session.) This is done for drawer regions containing fake blocks so we can show blocks automatically.
- Return values
-
boolean | true if the page has fakeblocks and this is the first visit. |
◆ navbar()
theme_boost\output\core_renderer::navbar |
( |
| ) |
|
Renders the "breadcrumb" for all pages in boost.
- Return values
-
string | the HTML for the navbar. |
The documentation for this class was generated from the following file:
- theme/boost/classes/output/core_renderer.php