Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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

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

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

return: stdClass
param: renderer_base $output