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\block

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: 104 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

block:: (5 methods):
  __construct()
  export_for_template()
  add_feed()
  set_feeds()
  get_feeds()


Class: block  - X-Ref

Class to help display an RSS Feeds block

__construct(array $feeds = array()   X-Ref
Contruct

param: array $feeds An array of renderable feeds

export_for_template(\renderer_base $output)   X-Ref
Prepare data for use in a template

return: array
param: \renderer_base $output

add_feed(feed $feed)   X-Ref
Add a feed

return: \block_rss_client\output\block
param: \block_rss_client\output\feed $feed

set_feeds(array $feeds)   X-Ref
Set the feeds

return: \block_rss_client\output\block
param: array $feeds

get_feeds()   X-Ref
Get feeds

return: array