MDL-30397 qformat_xml::format() should be public.
This commit is contained in:
@@ -1446,10 +1446,10 @@ class qformat_xml extends qformat_default {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param unknown_type $format a FORMAT_... constant.
|
||||
* @param int $format a FORMAT_... constant.
|
||||
* @return string the attribute to add to an XML tag.
|
||||
*/
|
||||
protected function format($format) {
|
||||
public function format($format) {
|
||||
return 'format="' . $this->get_format($format) . '"';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user