Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Contains class block_rss_client\output\footer

Author: Brendan Anderson <brendan_anderson@hcpss.org>
Copyright: 2015 Howard County Public School System
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 111 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

footer:: (5 methods):
  __construct()
  set_channelurl()
  set_failed()
  get_channelurl()
  export_for_template()


Class: footer  - X-Ref

Class to help display an RSS Block footer

__construct($channelurl = null)   X-Ref
Constructor

param: \moodle_url $channelurl (optional) The link provided in the RSS channel

set_channelurl(\moodle_url $channelurl)   X-Ref
Set the channel url

param: \moodle_url $channelurl
return: \block_rss_client\output\footer

set_failed(\moodle_url $manageurl)   X-Ref
Record the fact that there is at least one failed feed (and the URL for viewing
these failed feeds).

param: \moodle_url $manageurl the URL to link to for more information

get_channelurl()   X-Ref
Get the channel url

return: \moodle_url

export_for_template(\renderer_base $output)   X-Ref
Export context for use in mustache templates

param: renderer_base $output
return: stdClass