mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help
This commit is contained in:
parent
9f9193f623
commit
596509e431
55 changed files with 116 additions and 116 deletions
|
@ -151,7 +151,7 @@ class user_picture implements renderable {
|
|||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @since Moodle 2.0
|
||||
*/
|
||||
class help_icon implements renderable {
|
||||
class old_help_icon implements renderable {
|
||||
/**
|
||||
* @var string $helpidentifier lang pack identifier (should inlcude the "_hlp" suffix)
|
||||
*/
|
||||
|
@ -430,8 +430,8 @@ class single_select implements renderable {
|
|||
* @param bool $linktext add extra text to icon
|
||||
* @return void
|
||||
*/
|
||||
public function set_help_icon($helppage, $title, $component = 'moodle') {
|
||||
$this->helpicon = new help_icon($helppage, $title, $component);
|
||||
public function set_old_help_icon($helppage, $title, $component = 'moodle') {
|
||||
$this->helpicon = new old_help_icon($helppage, $title, $component);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -527,8 +527,8 @@ class url_select implements renderable {
|
|||
* @param bool $linktext add extra text to icon
|
||||
* @return void
|
||||
*/
|
||||
public function set_help_icon($helppage, $title, $component = 'moodle') {
|
||||
$this->helpicon = new help_icon($helppage, $title, $component);
|
||||
public function set_old_help_icon($helppage, $title, $component = 'moodle') {
|
||||
$this->helpicon = new old_help_icon($helppage, $title, $component);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue