public function render_rules_link($ruleurl) {
        echo \html_writer::start_div();
        $a = \html_writer::link($ruleurl, get_string('managerules', 'tool_monitor'));
        $link = \html_writer::tag('span', get_string('manageruleslink', 'tool_monitor', $a));
        echo $link;
        echo \html_writer::end_div();
    }
public function render_rules_link($ruleurl) {
        echo \html_writer::start_div();
        $a = \html_writer::link($ruleurl, get_string('managerules', 'tool_monitor'));
        $link = \html_writer::tag('span', get_string('manageruleslink', 'tool_monitor', $a));
        echo $link;
        echo \html_writer::end_div();
    }
public function render_rules_link ( $ ruleurl ) { echo \ html_writer :: start_div ( ) ; $ a = \ html_writer :: link ( $ ruleurl , get_string ( 'managerules' , 'tool_monitor' ) ) ; $ link = \ html_writer :: tag ( 'span' , get_string ( 'manageruleslink' , 'tool_monitor' , $ a ) ) ; echo $ link ; echo \ html_writer :: end_div ( ) ; }
Html to add a link to go to the rule manager page.

@param moodle_url $ruleurl The url of the rule manager page.

@return string html for the link to the rule manager page.
Html to add a link to go to the rule manager page .