Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Public Member Functions | List of all members
mod_forum\output\subscription_actionbar Class Reference
Inheritance diagram for mod_forum\output\subscription_actionbar:

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: