Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added empty setHelpButton method to moodleform_hidden

  • Loading branch information...
commit 04ad8eee8274132f2d6ac29a23ddd6807dbcbcca 1 parent e249661
jamiesensei authored
Showing with 36 additions and 0 deletions.
  1. +36 −0 lib/form/hidden.php
View
36 lib/form/hidden.php
@@ -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 '';
+ }
+}
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.