]> git.mjollnir.org Git - moodle.git/commitdiff
added comments to show how to add nested fieldset container for groups of items
authorjamiesensei <jamiesensei>
Wed, 27 Sep 2006 16:06:56 +0000 (16:06 +0000)
committerjamiesensei <jamiesensei>
Wed, 27 Sep 2006 16:06:56 +0000 (16:06 +0000)
lib/form/group.php

index b83a740fd175226ffe497b5f382041e584613c7c..c0fa44ce324a5edf3611e5fe66cd4fab590344c6 100644 (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;
+    }
 }
\ No newline at end of file