From: defacer Date: Fri, 21 May 2004 10:59:40 +0000 (+0000) Subject: Small addition for the future: blocks will be able to define their own X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c5507e52f4228eaee27bdd00da03651699061dab;p=moodle.git Small addition for the future: blocks will be able to define their own HTML attributes. --- diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index d15c7d2511..77b506e447 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -212,6 +212,10 @@ class MoodleBlock { //Default, false--> the header is showed return false; } + function html_attributes() { + // Default case: we want no extra attributes + return false; + } } class MoodleBlock_Nuke extends MoodleBlock {