Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 166 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

subscription_actionbar:: (4 methods):
  __construct()
  create_subscription_menu()
  create_view_manage_menu()
  export_for_template()


Class: subscription_actionbar  - X-Ref

Renders the subscribers page for this activity.

__construct(int $id, moodle_url $currenturl, \stdClass $forum, int $edit)   X-Ref
subscription_actionbar constructor.

param: int $id The forum id.
param: moodle_url $currenturl Current URL.
param: \stdClass $forum The forum object.
param: int $edit This argument decides to show view/manage subscribers view.

create_subscription_menu()   X-Ref
Create url select menu for subscription option

return: url_select|null the url_select object

create_view_manage_menu()   X-Ref
Create view and manage subscribers select menu.

return: url_select|null get url_select object.

export_for_template(renderer_base $output)   X-Ref
Data for the template.

param: renderer_base $output The render_base object.
return: array data for template