Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 400 and 403] [Versions 401 and 403]

(no description)

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

Defines 1 class

standard_action_bar:: (6 methods):
  __construct()
  export_for_template()
  create_search_box()
  create_add_button()
  get_additional_tools()
  generate_tab_jumps()


Class: standard_action_bar  - X-Ref

Class standard_action_bar - Display the action bar

__construct(object $cm, object $module, object $displayformat, string $mode, string $hook,string $sortkey, string $sortorder, int $offset, int $pagelimit, int $fullsearch,string $tab, string $defaulttab)   X-Ref
standard_action_bar constructor.

param: object $cm
param: object $module
param: object $displayformat
param: string $mode
param: string $hook
param: string $sortkey
param: string $sortorder
param: int $offset
param: int $pagelimit
param: int $fullsearch
param: string $tab
param: string $defaulttab

export_for_template(renderer_base $output)   X-Ref
Export the action bar

param: renderer_base $output
return: array

create_search_box()   X-Ref
Render the search box with the checkbox

return: array

create_add_button(renderer_base $output)   X-Ref
Render the add entry button

param: renderer_base $output
return: \stdClass|null

get_additional_tools(renderer_base $output)   X-Ref
Render the additional tools required by the glossary

param: renderer_base $output
return: array

generate_tab_jumps(renderer_base $output)   X-Ref
Generate a url select to match any types of glossary views

param: renderer_base $output
return: \stdClass|null