]> git.mjollnir.org Git - moodle.git/commitdiff
Small addition for the future: blocks will be able to define their own
authordefacer <defacer>
Fri, 21 May 2004 10:59:40 +0000 (10:59 +0000)
committerdefacer <defacer>
Fri, 21 May 2004 10:59:40 +0000 (10:59 +0000)
HTML attributes.

blocks/moodleblock.class.php

index d15c7d2511f209c67c4048e021152ba8a46900db..77b506e447ef51cbf6b2ce401119fb1370a025fe 100644 (file)
@@ -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 {