From c5507e52f4228eaee27bdd00da03651699061dab Mon Sep 17 00:00:00 2001 From: defacer Date: Fri, 21 May 2004 10:59:40 +0000 Subject: [PATCH] Small addition for the future: blocks will be able to define their own HTML attributes. --- blocks/moodleblock.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.39.5