Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_assign\output\timelimit_panel Class Reference

Represents the timer panel. More...

Inheritance diagram for mod_assign\output\timelimit_panel:
templatable renderable

Public Member Functions

 __construct (\stdClass $submission, stdClass $assign)
 Constructor.
 
 export_for_template (renderer_base $output)
 Render timer.
 

Protected Attributes

object $assign
 assign object.
 
stdClass $submission
 assign submission attempt.
 

Detailed Description

Represents the timer panel.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_assign\output\timelimit_panel::__construct ( \stdClass $submission,
stdClass $assign )

Constructor.

Parameters
stdClass$submissionassign submission.
stdClass$assignassign object.

Member Function Documentation

◆ export_for_template()

mod_assign\output\timelimit_panel::export_for_template ( renderer_base $output)

Render timer.

Parameters
renderer_base$outputThe current page renderer.
Return values
stdClass- Flat list of exported data.

Implements templatable.


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