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.

(no description)

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

Defines 1 class

set_hidden_columns:: (3 methods):
  execute_parameters()
  execute_returns()
  execute()


Class: set_hidden_columns  - X-Ref

External function for saving the list of hidden columns.

execute_parameters()   X-Ref
Returns description of method parameters.

return: external_function_parameters

execute_returns()   X-Ref
Returns description of method result value.


execute(?array $columns, bool $global = false)   X-Ref
Set hidden columns
Save against user preference if specified

param: ?array $columns List of hidden columns. Null value clears the setting.
param: bool $global Set global config setting, rather than user preference