MDL-47494 ddimageortext: Add lots of missing public/protected/private.

This commit is contained in:
Tim Hunt
2011-03-23 16:22:25 +00:00
parent c9826b0a30
commit adebc4e51d
3 changed files with 3 additions and 3 deletions
@@ -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';
}
+1 -1
View File
@@ -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";