Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
qbank_columnsortorder

Topics

 admin
 
 
 external
 
 
 test
 
 
 webservice
 
 

Directories

directory local
  
 

Namespaces

namespace  qbank_columnsortorder
  
 
namespace  qbank_columnsortorder\event
  
 
namespace  qbank_columnsortorder\external
  
 
namespace  qbank_columnsortorder\local\bank
  
 
namespace  qbank_columnsortorder\output
  
 
namespace  qbank_columnsortorder\privacy
  
 
namespace  qbank_columnsortorder\tests
 Class defining resuable tests methods for external functions.
 

Classes

class  qbank_columnsortorder\column_manager
 Class column_manager responsible for loading and saving order to the config setting. More...
 
class  qbank_columnsortorder\event\plugin_observer
 Observer for qbank plugin enabled/disabled events. More...
 
class  qbank_columnsortorder\external\set_column_size
 External function for saving column sizes. More...
 
class  qbank_columnsortorder\external\set_hidden_columns
 External function for saving the list of hidden columns. More...
 
class  qbank_columnsortorder\local\bank\column_action_move
 Move a column. More...
 
class  qbank_columnsortorder\local\bank\column_action_remove
 Remove a column. More...
 
class  qbank_columnsortorder\local\bank\column_action_resize
 Resize a column. More...
 
class  qbank_columnsortorder\local\bank\preview_view
 Custom view for displaying a preview of the question bank. More...
 
class  qbank_columnsortorder\output\add_column
 Renderable for the "add column" dropdown list. More...
 
class  qbank_columnsortorder\output\column_sort_preview
 Renderable for the question bank preview. More...
 
class  qbank_columnsortorder\output\column_sort_ui
 Renderable for the column sort admin UI. More...
 
class  qbank_columnsortorder\output\fragment
 Output fragments for the column sort order interface. More...
 
class  qbank_columnsortorder\output\reset_columns
 Renderable for resetting customised column settings. More...
 
class  qbank_columnsortorder\plugin_feature
 Plugin features for qbank_columnsortorder. More...
 
class  qbank_columnsortorder\privacy\provider
 Privacy provider for columnsortorder. More...
 
class  qbank_columnsortorder\tests\external_function_testcase
 Class defining resuable tests methods for external functions. More...
 

Functions

 qbank_columnsortorder_output_fragment_column_sort_ui (array $args)
 Standard callback functions for qbank_columnsortorder.
 
 xmldb_qbank_columnsortorder_upgrade (int $oldversion)
 Upgrade the plugin.
 

Variables

 $observers
 
 $plugin = 2023100400
 
$plugin component = 'qbank_columnsortorder'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100902
 

Detailed Description

Function Documentation

◆ qbank_columnsortorder_output_fragment_column_sort_ui()

qbank_columnsortorder_output_fragment_column_sort_ui ( array $args)

Standard callback functions for qbank_columnsortorder.

This file only exists for defining fragment callbacks. Do not include any other functions here.

Author
Mark Johnson mark..nosp@m.john.nosp@m.son@c.nosp@m.atal.nosp@m.yst-e.nosp@m.u.ne.nosp@m.t
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later Render the column sort UI. {
See also
qbank_columnsortorder\output\fragment\column_sort_ui()}
Parameters
array$args
Return values
string

◆ xmldb_qbank_columnsortorder_upgrade()

xmldb_qbank_columnsortorder_upgrade ( int $oldversion)

Upgrade the plugin.

Parameters
int$oldversionthe version of this plugin we are upgrading from.
Return values
boolsuccess/failure.

Variable Documentation

◆ $observers

$observers
Initial value:
= [
[
'eventname' => '\core\event\qbank_plugin_enabled',
'callback' => '\qbank_columnsortorder\event\plugin_observer::plugin_enabled',
],
[
'eventname' => '\core\event\qbank_plugin_disabled',
'callback' => '\qbank_columnsortorder\event\plugin_observer::plugin_disabled',
],
]