some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window.

This commit is contained in:
jamiesensei 2006-11-13 07:43:22 +00:00
parent 3d436d5974
commit d4fe14d3e4
12 changed files with 68 additions and 56 deletions

View file

@ -3,7 +3,7 @@ require_once('HTML/QuickForm/hidden.php');
/**
* HTML class for a hidden type element
*
*
* @author Jamie Pratt
* @access public
*/
@ -19,9 +19,10 @@ class MoodleQuickForm_hidden extends HTML_QuickForm_hidden{
*
* @access public
* @param array $help array of arguments to make a help button
* @param string $function function name to call to get html
*/
function setHelpButton($helpbuttonargs){
function setHelpButton($helpbuttonargs, $function='helpbutton'){
}
/**
* get html for help button