Moodle  2.2.1
http://www.collinsharper.com
core_renderer_cli Class Reference

RENDERERS. More...

Inheritance diagram for core_renderer_cli:
Collaboration diagram for core_renderer_cli:

Public Member Functions

 header ()
 heading ($text, $level=2, $classes= 'main', $id=null)
 fatal_error ($message, $moreinfourl, $link, $backtrace, $debuginfo=null)
 notification ($message, $classes= 'notifyproblem')

Detailed Description

RENDERERS.

A renderer that generates output for command-line scripts.

The implementation of this renderer is probably incomplete.

Since:
Moodle 2.0

Definition at line 2581 of file outputrenderers.php.


Member Function Documentation

fatal_error ( message,
moreinfourl,
link,
backtrace,
debuginfo = null 
)

Returns a template fragment representing a fatal error.

Parameters:
string$messageThe message to output
string$moreinfourlURL where more info can be found about the error
string$linkLink for the Continue button
array$backtraceThe execution backtrace
string$debuginfoDebugging information
Returns:
string A template fragment for a fatal error

Reimplemented from core_renderer.

Definition at line 2619 of file outputrenderers.php.

Here is the call graph for this function:

header ( )

Returns the page header.

Returns:
string HTML fragment

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.

Parameters:
string$textThe text of the heading
int$levelThe level of importance of the heading
string$classesA space-separated list of CSS classes
string$idAn optional ID
Returns:
string A template fragment for a heading

Reimplemented from core_renderer.

Definition at line 2598 of file outputrenderers.php.

notification ( message,
classes = 'notifyproblem' 
)

Returns a template fragment representing a notification.

Parameters:
string$messageThe message to include
string$classesA space-separated list of CSS classes
Returns:
string A template fragment for a notification

Reimplemented from core_renderer.

Definition at line 2640 of file outputrenderers.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations