Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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