Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

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

Defines 1 class

manage_categories_action_bar:: (5 methods):
  __construct()
  get_dropdown()
  get_category_select()
  get_search_form()
  export_for_template()


Class: manage_categories_action_bar  - X-Ref

Class responsible for generating the action bar (tertiary nav) elements in the category management page

__construct(moodle_page $page, string $viewmode, ?object $course, ?string $searchvalue)   X-Ref
Constructor for the manage_categories_action_bar

param: moodle_page $page The page object
param: string $viewmode The type of page we are viewing.
param: object|null $course The course that we are generating the nav for
param: string|null $searchvalue The search value if applicable

get_dropdown(\renderer_base $output)   X-Ref
Gets the url_select to be displayed in the participants page if available.

return: object|null The content required to render the url_select
param: \renderer_base $output

get_category_select(\renderer_base $output)   X-Ref
Gets the url_select to be displayed in the participants page if available.

return: object|null The content required to render the url_select
param: \renderer_base $output

get_search_form()   X-Ref
Get the search box

return: array

export_for_template(\renderer_base $output)   X-Ref
Export the content to be displayed on the participants page.

return: array Consists of the following:
param: \renderer_base $output