MDL-10496:
[moodle-linuxchix.git] / lib / form / hidden.php
blob7e78b1b1fab4d8ea5f751ed3621122d2c1a41177
1 <?php
2 require_once('HTML/QuickForm/hidden.php');
4 /**
5 * HTML class for a hidden type element
7 * @author Jamie Pratt
8 * @access public
9 */
10 class MoodleQuickForm_hidden extends HTML_QuickForm_hidden{
11 /**
12 * html for help button, if empty then no help
14 * @var string
16 var $_helpbutton='';
17 /**
18 * set html for help button
20 * @access public
21 * @param array $help array of arguments to make a help button
22 * @param string $function function name to call to get html
24 function setHelpButton($helpbuttonargs, $function='helpbutton'){
27 /**
28 * get html for help button
30 * @access public
31 * @return string html for help button
33 function getHelpButton(){
34 return '';