Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_forum\output\subscription_actionbar Class Reference
Inheritance diagram for mod_forum\output\subscription_actionbar:
renderable templatable

Public Member Functions

 __construct (int $id, moodle_url $currenturl, stdClass $forum, int $edit)
 subscription_actionbar constructor.
 
 export_for_template (renderer_base $output)
 Data for the template.
 

Constructor & Destructor Documentation

◆ __construct()

mod_forum\output\subscription_actionbar::__construct ( int $id,
moodle_url $currenturl,
stdClass $forum,
int $edit )

subscription_actionbar constructor.

Parameters
int$idThe forum id.
moodle_url$currenturlCurrent URL.
stdClass$forumThe forum object.
int$editThis argument decides to show view/manage subscribers view.

Member Function Documentation

◆ export_for_template()

mod_forum\output\subscription_actionbar::export_for_template ( renderer_base $output)

Data for the template.

Parameters
renderer_base$outputThe render_base object.
Return values
arraydata for template

Implements templatable.


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