MDl-31294 Forms Library: updated php docs pointing to addHelpButton

This commit is contained in:
Rajesh Taneja
2012-07-25 14:18:53 +08:00
committed by Aparup Banerjee
parent 5d6cdf95f4
commit 42b60b2755
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
* @param string $function name of the callback function
* @deprecated since Moodle 2.0. Please do not call this function any more.
* @todo MDL-34508 this api will be removed.
* @see MoodleQuickForm::setHelpButton()
* @see MoodleQuickForm::addHelpButton()
*/
function setHelpButton($_helpbuttonargs, $function='_helpbutton') {
debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead');
+1 -1
View File
@@ -60,7 +60,7 @@ class MoodleQuickForm_hidden extends HTML_QuickForm_hidden{
* @param string $function function name to call to get html
* @deprecated since Moodle 2.0. Please do not call this function any more.
* @todo MDL-34508 this api will be removed.
* @see MoodleQuickForm::setHelpButton()
* @see MoodleQuickForm::addHelpButton()
*/
function setHelpButton($helpbuttonargs, $function='helpbutton'){
debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead');