Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/form/header.php
Go to the documentation of this file.
00001 <?php
00002 
00003 require_once 'HTML/QuickForm/header.php';
00004 
00009 class MoodleQuickForm_header extends HTML_QuickForm_header
00010 {
00016     var $_helpbutton='';
00017 
00018     function MoodleQuickForm_header($elementName = null, $text = null) {
00019         parent::HTML_QuickForm_header($elementName, $text);
00020     }
00021 
00022     // {{{ accept()
00023 
00031     function accept(&$renderer)
00032     {
00033         $this->_text .= $this->getHelpButton();
00034         $renderer->renderHeader($this);
00035     } // end func accept
00036 
00037     // }}}
00045     function setHelpButton($helpbuttonargs, $function='helpbutton'){
00046         debugging('component setHelpButton() is not used any more, please use $mform->setHelpButton() instead');
00047     }
00054     function getHelpButton(){
00055         return $this->_helpbutton;
00056     }
00057 } //end class MoodleQuickForm_header
 All Data Structures Namespaces Files Functions Variables Enumerations