|
| __call ($method, $arguments) |
| Constructor - to be used by core code only.
|
|
| has_started () |
| Whether output has started yet.
|
|
|
static | early_error ($message, $moreinfourl, $link, $backtrace, $debuginfo=null, $errorcode=null) |
| This function should only be called by this class, or from exception handlers.
|
|
static | early_error_content ($message, $moreinfourl, $link, $backtrace, $debuginfo=null) |
| Returns nicely formatted error message in a div box.
|
|
static | early_notification ($message, $classes='notifyproblem') |
| Early notification message.
|
|
static | early_redirect_message ($encodedurl, $message, $delay) |
| Early redirection page, used before full init of $PAGE global.
|
|
static | plain_page ($title, $content, $meta='') |
| Output basic html page.
|
|
static | plain_redirect_message ($encodedurl) |
| Page should redirect message.
|
|
◆ __call()
core\output\bootstrap_renderer::__call |
( |
| $method, |
|
|
| $arguments ) |
Constructor - to be used by core code only.
- Parameters
-
string | $method | The method to call |
array | $arguments | Arguments to pass to the method being called |
- Return values
-
◆ early_error()
static core\output\bootstrap_renderer::early_error |
( |
| $message, |
|
|
| $moreinfourl, |
|
|
| $link, |
|
|
| $backtrace, |
|
|
| $debuginfo = null, |
|
|
| $errorcode = null ) |
|
static |
This function should only be called by this class, or from exception handlers.
- Parameters
-
string | $message | error message |
string | $moreinfourl | (ignored in early errors) |
string | $link | (ignored in early errors) |
array | $backtrace | |
string | $debuginfo | extra information for developers |
- Return values
-
◆ early_error_content()
static core\output\bootstrap_renderer::early_error_content |
( |
| $message, |
|
|
| $moreinfourl, |
|
|
| $link, |
|
|
| $backtrace, |
|
|
| $debuginfo = null ) |
|
static |
Returns nicely formatted error message in a div box.
- Parameters
-
string | $message | error message |
?string | $moreinfourl | (ignored in early errors) |
?string | $link | (ignored in early errors) |
?array | $backtrace | |
?string | $debuginfo | |
- Return values
-
◆ early_notification()
static core\output\bootstrap_renderer::early_notification |
( |
| $message, |
|
|
| $classes = 'notifyproblem' ) |
|
static |
Early notification message.
- Parameters
-
string | $message | |
string | $classes | usually notifyproblem or notifysuccess |
- Return values
-
◆ early_redirect_message()
static core\output\bootstrap_renderer::early_redirect_message |
( |
| $encodedurl, |
|
|
| $message, |
|
|
| $delay ) |
|
static |
Early redirection page, used before full init of $PAGE global.
- Parameters
-
string | $encodedurl | redirect url |
string | $message | redirect message |
int | $delay | time in seconds |
- Return values
-
◆ has_started()
core\output\bootstrap_renderer::has_started |
( |
| ) |
|
Whether output has started yet.
- Return values
-
bool | true if the header has been printed. |
◆ plain_page()
static core\output\bootstrap_renderer::plain_page |
( |
| $title, |
|
|
| $content, |
|
|
| $meta = '' ) |
|
static |
Output basic html page.
- Parameters
-
string | $title | page title |
string | $content | page content |
string | $meta | meta tag |
- Return values
-
◆ plain_redirect_message()
static core\output\bootstrap_renderer::plain_redirect_message |
( |
| $encodedurl | ) |
|
|
static |
Page should redirect message.
- Parameters
-
string | $encodedurl | redirect url |
- Return values
-
◆ $initialising
bool core\output\bootstrap_renderer::$initialising = false |
|
protected |
Handles re-entrancy.
Without this, errors or debugging output that occur during the initialisation of $OUTPUT, cause infinite recursion.
The documentation for this class was generated from the following file:
- lib/classes/output/bootstrap_renderer.php