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.

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

return: array
param: renderer_base $output

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

return: \stdClass|null
param: renderer_base $output

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

return: array
param: renderer_base $output

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

return: \stdClass|null
param: renderer_base $output