Permalink
Browse files

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

  • Loading branch information...
1 parent 5d6cdf9 commit 42b60b2755ab60784fd47f31903c2d081486d1b7 @rajeshtaneja rajeshtaneja committed with nebgor Jul 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/form/editor.php
  2. +1 −1 lib/form/hidden.php
View
2 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');
View
2 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');

0 comments on commit 42b60b2

Please sign in to comment.