|
Moodle
2.2.1
http://www.collinsharper.com
|
RENDERERS. More...


Public Member Functions | |
| header () | |
| heading ($text, $level=2, $classes= 'main', $id=null) | |
| fatal_error ($message, $moreinfourl, $link, $backtrace, $debuginfo=null) | |
| notification ($message, $classes= 'notifyproblem') | |
RENDERERS.
A renderer that generates output for command-line scripts.
The implementation of this renderer is probably incomplete.
Definition at line 2581 of file outputrenderers.php.
| fatal_error | ( | $ | message, |
| $ | moreinfourl, | ||
| $ | link, | ||
| $ | backtrace, | ||
| $ | debuginfo = null |
||
| ) |
Returns a template fragment representing a fatal error.
| string | $message | The message to output |
| string | $moreinfourl | URL where more info can be found about the error |
| string | $link | Link for the Continue button |
| array | $backtrace | The execution backtrace |
| string | $debuginfo | Debugging information |
Reimplemented from core_renderer.
Definition at line 2619 of file outputrenderers.php.

| header | ( | ) |
Returns the page header.
Reimplemented from core_renderer.
Definition at line 2586 of file outputrenderers.php.
| heading | ( | $ | text, |
| $ | level = 2, |
||
| $ | classes = 'main', |
||
| $ | id = null |
||
| ) |
Returns a template fragment representing a Heading.
| string | $text | The text of the heading |
| int | $level | The level of importance of the heading |
| string | $classes | A space-separated list of CSS classes |
| string | $id | An optional ID |
Reimplemented from core_renderer.
Definition at line 2598 of file outputrenderers.php.
| notification | ( | $ | message, |
| $ | classes = 'notifyproblem' |
||
| ) |
Returns a template fragment representing a notification.
| string | $message | The message to include |
| string | $classes | A space-separated list of CSS classes |
Reimplemented from core_renderer.
Definition at line 2640 of file outputrenderers.php.

