Skip to content

Commit

Permalink
MDl-31294 Forms Library: updated php docs pointing to addHelpButton
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja authored and Aparup Banerjee committed Jul 25, 2012
1 parent 5d6cdf9 commit 42b60b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/form/editor.php
Expand Up @@ -209,7 +209,7 @@ function isRequired() {
* @param string $function name of the callback function * @param string $function name of the callback function
* @deprecated since Moodle 2.0. Please do not call this function any more. * @deprecated since Moodle 2.0. Please do not call this function any more.
* @todo MDL-34508 this api will be removed. * @todo MDL-34508 this api will be removed.
* @see MoodleQuickForm::setHelpButton() * @see MoodleQuickForm::addHelpButton()
*/ */
function setHelpButton($_helpbuttonargs, $function='_helpbutton') { function setHelpButton($_helpbuttonargs, $function='_helpbutton') {
debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead'); debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead');
Expand Down
2 changes: 1 addition & 1 deletion lib/form/hidden.php
Expand Up @@ -60,7 +60,7 @@ function MoodleQuickForm_hidden($elementName=null, $value='', $attributes=null)
* @param string $function function name to call to get html * @param string $function function name to call to get html
* @deprecated since Moodle 2.0. Please do not call this function any more. * @deprecated since Moodle 2.0. Please do not call this function any more.
* @todo MDL-34508 this api will be removed. * @todo MDL-34508 this api will be removed.
* @see MoodleQuickForm::setHelpButton() * @see MoodleQuickForm::addHelpButton()
*/ */
function setHelpButton($helpbuttonargs, $function='helpbutton'){ function setHelpButton($helpbuttonargs, $function='helpbutton'){
debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead'); debugging('setHelpButton() is deprecated, please use $mform->addHelpButton() instead');
Expand Down

0 comments on commit 42b60b2

Please sign in to comment.