Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
tool_brickfield\output\errors\renderer Class Reference
Inheritance diagram for tool_brickfield\output\errors\renderer:
tool_brickfield\output\renderer

Public Member Functions

 analysisalert (int $courseid)
 This function assumes that 'scheduler::is_analysed' has already failed.
 
 analysisbutton (int $courseid)
 Render the analysis request button.
 
 cachealert ()
 Render the cache alert message.
 
 display (\stdClass $data, filter $filter)
 Render the page containing the errors tool.
 
 get_link (\stdClass $err, string $titlestr)
 Return a link to edit the appropriate content for the error.
 
 notvalidatedalert ()
 Render the "not validated" alert message.
 
 tabs (filter $filter, array $tools)
 Render the valid tabs.
 

Protected Member Functions

 render_tabtree (tabtree $tabtree)
 Renders tabtree.
 

Member Function Documentation

◆ analysisalert()

tool_brickfield\output\renderer::analysisalert ( int $courseid)
inherited

This function assumes that 'scheduler::is_analysed' has already failed.

Parameters
int$courseid
Return values
string
Exceptions
coding_exception
moodle_exception

◆ analysisbutton()

tool_brickfield\output\renderer::analysisbutton ( int $courseid)
inherited

Render the analysis request button.

Parameters
int$courseid
Return values
string
Exceptions
coding_exception
moodle_exception

◆ cachealert()

tool_brickfield\output\renderer::cachealert ( )
inherited

Render the cache alert message.

Return values
string
Exceptions
coding_exception
dml_exception

◆ display()

tool_brickfield\output\errors\renderer::display ( \stdClass $data,
filter $filter )

Render the page containing the errors tool.

Parameters
stdClass$dataReport data.
filter$filterDisplay filters.
Return values
StringHTML showing charts.
Exceptions
coding_exception
dml_exception
moodle_exception

Reimplemented from tool_brickfield\output\renderer.

◆ get_link()

tool_brickfield\output\errors\renderer::get_link ( \stdClass $err,
string $titlestr )

Return a link to edit the appropriate content for the error.

Parameters
stdClass$err
string$titlestr
Return values
string
Exceptions
coding_exception

◆ notvalidatedalert()

tool_brickfield\output\renderer::notvalidatedalert ( )
inherited

Render the "not validated" alert message.

Return values
string
Exceptions
coding_exception

◆ render_tabtree()

tool_brickfield\output\renderer::render_tabtree ( tabtree $tabtree)
protectedinherited

Renders tabtree.

Parameters
tabtree$tabtree
Return values
string
Exceptions
moodle_exception

◆ tabs()

tool_brickfield\output\renderer::tabs ( filter $filter,
array $tools )
inherited

Render the valid tabs.

Parameters
filter$filter
array$tools
Return values
string
Exceptions
moodle_exception

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