Merge branch 'MDL-62975_master' of git://github.com/markn86/moodle

This commit is contained in:
Andrew Nicols
2018-08-07 14:38:00 +08:00
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -20,6 +20,7 @@
*
* Contains HTML class for htmleditor type element
*
* @deprecated since 3.6
* @package core_form
* @copyright 2006 Jamie Pratt <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@@ -55,6 +56,8 @@ class MoodleQuickForm_htmleditor extends MoodleQuickForm_textarea{
* or an associative array
*/
public function __construct($elementName=null, $elementLabel=null, $options=array(), $attributes=null){
debugging("The form element 'htmleditor' has been deprecated. Please use the 'editor' element instead.", DEBUG_DEVELOPER);
parent::__construct($elementName, $elementLabel, $attributes);
// set the options, do not bother setting bogus ones
if (is_array($options)) {
+1
View File
@@ -6,6 +6,7 @@ information provided here is intended especially for developers.
* Custom AJAX handlers for the form autocomplete fields can now optionally return string in their processResults()
callback. If a string is returned, it is displayed instead of the list of suggested items. This can be used, for
example, to inform the user that there are too many items matching the current search criteria.
* The form element 'htmleditor' has been deprecated. Please use the 'editor' element instead.
* The following functions have been finally deprecated and can not be used any more:
- external_function_info()
- core_renderer::update_module_button()