added comments to show how to add nested fieldset container for groups of items

This commit is contained in:
jamiesensei 2006-09-27 16:06:56 +00:00
parent 42f248e659
commit ef625b6bac

View File

@ -17,6 +17,9 @@ class moodleform_group extends HTML_QuickForm_group{
* @var string
*/
var $_helpbutton='';
var $_elementTemplateType='default';
//would cause problems with client side validation so will leave for now
//var $_elementTemplateType='fieldset';
/**
* set html for help button
*
@ -44,4 +47,7 @@ class moodleform_group extends HTML_QuickForm_group{
function getHelpButton(){
return $this->_helpbutton;
}
function getElementTemplateType(){
return $this->_elementTemplateType;
}
}