From 42b60b2755ab60784fd47f31903c2d081486d1b7 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Wed, 25 Jul 2012 14:10:52 +0800 Subject: [PATCH] MDl-31294 Forms Library: updated php docs pointing to addHelpButton --- lib/form/editor.php | 2 +- lib/form/hidden.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/form/editor.php b/lib/form/editor.php index ff28c9ec190ec..5a919fb37157c 100644 --- a/lib/form/editor.php +++ b/lib/form/editor.php @@ -209,7 +209,7 @@ function isRequired() { * @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'); diff --git a/lib/form/hidden.php b/lib/form/hidden.php index e2c1ff0e2b995..b0e78b4c857d7 100644 --- a/lib/form/hidden.php +++ b/lib/form/hidden.php @@ -60,7 +60,7 @@ function MoodleQuickForm_hidden($elementName=null, $value='', $attributes=null) * @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');