Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_contentbank\helper Class Reference

Helper class for the content bank. More...

Static Public Member Functions

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.
 

Detailed Description

Helper class for the content bank.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_page_heading()

static core_contentbank\helper::get_page_heading ( \context $context)
static

Get the page heading based on the current context.

Parameters
context$contextThe current context of the page
Return values
string

◆ 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$contextContext of the current page.
string$titleTitle of the current page.
bool$internalTrue if is an internal page, false otherwise.

The documentation for this class was generated from the following file: