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.

Differences Between: [Versions 401 and 402] [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