]> git.mjollnir.org Git - moodle.git/commitdiff
added empty setHelpButton method to moodleform_hidden
authorjamiesensei <jamiesensei>
Wed, 27 Sep 2006 16:09:15 +0000 (16:09 +0000)
committerjamiesensei <jamiesensei>
Wed, 27 Sep 2006 16:09:15 +0000 (16:09 +0000)
lib/form/hidden.php [new file with mode: 0644]

diff --git a/lib/form/hidden.php b/lib/form/hidden.php
new file mode 100644 (file)
index 0000000..ab6ab0a
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+require_once('HTML/QuickForm/hidden.php');
+
+/**
+ * HTML class for a hidden type element
+ * 
+ * @author       Jamie Pratt
+ * @access       public
+ */
+class moodleform_hidden extends HTML_QuickForm_hidden{
+    /**
+     * html for help button, if empty then no help
+     *
+     * @var string
+     */
+    var $_helpbutton='';
+    /**
+     * set html for help button
+     *
+     * @access   public
+     * @param array $help array of arguments to make a help button
+     */
+    function setHelpButton($helpbuttonargs){
+        
+    }
+    /**
+     * get html for help button
+     *
+     * @access   public
+     * @return  string html for help button
+     */
+    function getHelpButton(){
+        return '';
+    }
+}
+?>
\ No newline at end of file