Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: