Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qbank_columnsortorder

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
  
 

Classes

class  behat_qbank_columnsortorder
 
class  qbank_columnsortorder\column_manager
 
class  qbank_columnsortorder\event\plugin_observer
 
class  qbank_columnsortorder\external\set_column_size
 
class  qbank_columnsortorder\external\set_columnbank_order
 
class  qbank_columnsortorder\external\set_hidden_columns
 
class  qbank_columnsortorder\local\bank\column_action_move
 
class  qbank_columnsortorder\local\bank\column_action_remove
 
class  qbank_columnsortorder\local\bank\column_action_resize
 
class  qbank_columnsortorder\local\bank\preview_view
 
class  qbank_columnsortorder\output\add_column
 
class  qbank_columnsortorder\output\column_sort_preview
 
class  qbank_columnsortorder\output\column_sort_ui
 
class  qbank_columnsortorder\output\fragment
 
class  qbank_columnsortorder\output\reset_columns
 
class  qbank_columnsortorder\plugin_feature
 
class  qbank_columnsortorder\privacy\provider
 
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)
 Render the column sort UI.
 
 xmldb_qbank_columnsortorder_upgrade (int $oldversion)
 Upgrade the plugin.
 

Variables

 $functions
 
 $observers
 
 $plugin = 2024041600
 
if($ADMIN->fulltree) $settings = new admin_externalpage('qbank_columnsortorder', get_string('qbankcolumnsortorder', 'qbank_columnsortorder'), $url)
 
 $url = new moodle_url('/question/bank/columnsortorder/sortcolumns.php', ['section' => 'columnsortorder'])
 
$plugin component = 'qbank_columnsortorder'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024051000
 

Detailed Description

Function Documentation

◆ qbank_columnsortorder_output_fragment_column_sort_ui()

qbank_columnsortorder_output_fragment_column_sort_ui ( array $args)

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

◆ $functions

$functions
Initial value:
= [
'qbank_columnsortorder_set_columnbank_order' => [
'classname' => 'qbank_columnsortorder\external\set_columnbank_order',
'description' => 'Sets question columns order in database',
'type' => 'write',
'ajax' => true,
],
'qbank_columnsortorder_set_hidden_columns' => [
'classname' => 'qbank_columnsortorder\external\set_hidden_columns',
'description' => 'Hidden Columns',
'type' => 'write',
'ajax' => true,
],
'qbank_columnsortorder_set_column_size' => [
'classname' => 'qbank_columnsortorder\external\set_column_size',
'description' => 'Column size',
'type' => 'write',
'ajax' => true,
],
]

◆ $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',
],
]