Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
qbank_customfields

Topics

 access
 
 

Directories

directory backup
  
 

Namespaces

namespace  qbank_customfields
  
 
namespace  qbank_customfields\customfield
  
 
namespace  qbank_customfields\event
  
 
namespace  qbank_customfields\output
  
 
namespace  qbank_customfields\privacy
  
 

Classes

class  backup_qbank_customfields_plugin
 Provides the information to backup question custom field. More...
 
class  qbank_customfields\custom_field_column
 A column type for the name of the question creator. More...
 
class  qbank_customfields\customfield\question_handler
 Question handler for custom fields. More...
 
class  qbank_customfields\event\question_deleted_observer
 Event observer for question deletion. More...
 
class  qbank_customfields\output\renderer
 Class renderer. More...
 
class  qbank_customfields\plugin_feature
 Class plugin_feature is the entrypoint for the columns. More...
 
class  qbank_customfields\privacy\provider
 Privacy Subsystem for qbank_customfields implementing null_provider. More...
 
class  restore_qbank_customfields_plugin
 Restore plugin class that provides the necessary information needed to restore comments for questions. More...
 

Functions

 qbank_customfields_preview_display (question_definition $question, int $courseid)
 Comment content for callbacks.
 

Variables

 $observers
 
 $plugin = 2023100400
 
$plugin component = 'qbank_customfields'
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

Detailed Description

Function Documentation

◆ qbank_customfields_preview_display()

qbank_customfields_preview_display ( question_definition $question,
int $courseid )

Comment content for callbacks.

Parameters
question_definition$question
int$courseid
Return values
string

Variable Documentation

◆ $observers

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