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

Namespaces

namespace  qbank_tagquestion
  
 
namespace  qbank_tagquestion\event
  
 
namespace  qbank_tagquestion\external
  
 
namespace  qbank_tagquestion\form
  
 
namespace  qbank_tagquestion\output
  
 
namespace  qbank_tagquestion\privacy
  
 

Classes

class  qbank_tagquestion\event\question_deleted_observer
 
class  qbank_tagquestion\external\submit_tags
 
class  qbank_tagquestion\form\tags_form
 
class  qbank_tagquestion\output\renderer
 
class  qbank_tagquestion\plugin_feature
 
class  qbank_tagquestion\privacy\provider
 
class  qbank_tagquestion\tag_condition
 
class  qbank_tagquestion\tags_action
 

Functions

 qbank_tagquestion_output_fragment_tags_form ($args)
 Question tags fragment callback.
 

Variables

 $functions
 
 $observers
 
 $plugin = 2024041600
 
$plugin component = 'qbank_tagquestion'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

Detailed Description

Function Documentation

◆ qbank_tagquestion_output_fragment_tags_form()

qbank_tagquestion_output_fragment_tags_form ( $args)

Question tags fragment callback.

Parameters
array$argsArguments to the form.
Return values
null|stringThe rendered form.

Variable Documentation

◆ $functions

$functions
Initial value:
= [
'qbank_tagquestion_submit_tags_form' => [
'classname' => 'qbank_tagquestion\external\submit_tags',
'description' => 'Update the question tags.',
'type' => 'write',
'ajax' => true,
],
]

◆ $observers

$observers
Initial value:
= [
[
'eventname' => '\core\event\question_deleted',
'callback' => '\qbank_tagquestion\event\question_deleted_observer::delete_question_tags'
]
]