page_support extends facade
Facade for local_middag\framework\support\moodle\page_support.
Tags
Table of Contents
Methods
- admin_externalpage_setup() : void
- admin_load_navigation() : void
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- get_renderer() : renderer_base
- navbar_add() : void
- page_markdown() : void
- set_context() : void
- set_heading() : void
- set_pagelayout() : void
- set_title() : void
- set_url() : void
Methods
admin_externalpage_setup()
public
static admin_externalpage_setup(string $section) : void
Parameters
- $section : string
admin_load_navigation()
public
static admin_load_navigation(mixed $section[, mixed $jump = = '2' ][, mixed $ignoreactive = = 'true' ]) : void
Parameters
- $section : mixed
- $jump : mixed = = '2'
- $ignoreactive : mixed = = 'true'
get_facade_accessor()
Return the service accessor key for this facade.
public
static get_facade_accessor() : string
Return values
stringget_renderer()
public
static get_renderer(string $component) : renderer_base
Parameters
- $component : string
Return values
renderer_basenavbar_add()
public
static navbar_add(string $text[, mixed $action = = 'null' ]) : void
Parameters
- $text : string
- $action : mixed = = 'null'
page_markdown()
public
static page_markdown(string $content, moodle_url|string $url, string $title[, context|null $context = = 'null' ]) : void
Parameters
- $content : string
- $url : moodle_url|string
- $title : string
- $context : context|null = = 'null'
set_context()
public
static set_context(context $context) : void
Parameters
- $context : context
set_heading()
public
static set_heading(string $heading) : void
Parameters
- $heading : string
set_pagelayout()
public
static set_pagelayout(string $layout) : void
Parameters
- $layout : string
set_title()
public
static set_title(string $title) : void
Parameters
- $title : string
set_url()
public
static set_url(moodle_url $url) : void
Parameters
- $url : moodle_url