public function set_action(moodle_url $url, $label) {
        $this->actionurl    = $url;
        $this->actionlabel  = $label;
    }
public function set_action(moodle_url $url, $label) {
        $this->actionurl    = $url;
        $this->actionlabel  = $label;
    }
public function set_action ( moodle_url $ url , $ label ) { $ this -> actionurl = $ url ; $ this -> actionlabel = $ label ; }
Sets the optional message action

@param moodle_url $url to follow on action
@param string $label action label
Sets the optional message action