Helper class for the content bank.
More...
|
static | get_page_heading (\context $context) |
| Get the page heading based on the current context.
|
|
static | get_page_ready (\context $context, string $title, bool $internal=false) |
| Getting content bank page ready for the breadcrumbs.
|
|
Helper class for the content bank.
- Copyright
- 2020 Amaia Anabitarte amaia.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_page_heading()
static core_contentbank\helper::get_page_heading |
( |
\context | $context | ) |
|
|
static |
Get the page heading based on the current context.
- Parameters
-
context | $context | The current context of the page |
- Return values
-
◆ get_page_ready()
static core_contentbank\helper::get_page_ready |
( |
\context | $context, |
|
|
string | $title, |
|
|
bool | $internal = false ) |
|
static |
Getting content bank page ready for the breadcrumbs.
- Parameters
-
context | $context | Context of the current page. |
string | $title | Title of the current page. |
bool | $internal | True if is an internal page, false otherwise. |
The documentation for this class was generated from the following file: