Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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