MDL-47494 ddimageortext: Add lots of missing public/protected/private.
This commit is contained in:
@@ -124,7 +124,7 @@ class restore_qtype_ddwtos_plugin extends restore_qtype_plugin {
|
||||
/**
|
||||
* Return the contents of this qtype to be processed by the links decoder
|
||||
*/
|
||||
static public function define_decode_contents() {
|
||||
public static function define_decode_contents() {
|
||||
|
||||
$contents = array();
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ require_once($CFG->dirroot . '/question/type/gapselect/edit_form_base.php');
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class qtype_ddwtos_edit_form extends qtype_gapselect_edit_form_base {
|
||||
function qtype() {
|
||||
public function qtype() {
|
||||
return 'ddwtos';
|
||||
}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ class qtype_ddwtos extends qtype_gapselect_base {
|
||||
return $question;
|
||||
}
|
||||
|
||||
function export_to_xml($question, $format, $extra = null) {
|
||||
public function export_to_xml($question, $format, $extra = null) {
|
||||
$output = '';
|
||||
|
||||
$output .= ' <shuffleanswers>' . $question->options->shuffleanswers . "</shuffleanswers>\n";
|
||||
|
||||
Reference in New Issue
Block a user