Skip to content

Commit

Permalink
Small addition for the future: blocks will be able to define their own
Browse files Browse the repository at this point in the history
HTML attributes.
  • Loading branch information
defacer committed May 21, 2004
1 parent 34bf3ad commit c5507e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blocks/moodleblock.class.php
Expand Up @@ -212,6 +212,10 @@ function hide_header() {
//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 {
Expand Down

0 comments on commit c5507e5

Please sign in to comment.