Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(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.

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

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

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

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.

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