From: jamiesensei Date: Wed, 27 Sep 2006 16:06:56 +0000 (+0000) Subject: added comments to show how to add nested fieldset container for groups of items X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ef625b6bac8c90459894d3d1adee207cf2076214;p=moodle.git added comments to show how to add nested fieldset container for groups of items --- diff --git a/lib/form/group.php b/lib/form/group.php index b83a740fd1..c0fa44ce32 100644 --- a/lib/form/group.php +++ b/lib/form/group.php @@ -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; + } } \ No newline at end of file