Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b0fec
)
MDL-30397 qformat_xml::format() should be public.
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Tue, 22 Nov 2011 07:21:04 +0000
(07:21 +0000)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Tue, 22 Nov 2011 07:21:04 +0000
(07:21 +0000)
question/format/xml/format.php
patch
|
blob
|
blame
|
history
diff --git
a/question/format/xml/format.php
b/question/format/xml/format.php
index
80ff9c1
..
b3f8858
100644
(file)
--- a/
question/format/xml/format.php
+++ b/
question/format/xml/format.php
@@
-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.
*/
- p
rotected
function format($format) {
+ p
ublic
function format($format) {
return 'format="' . $this->get_format($format) . '"';
}