Differences Between: [Versions 400 and 402] [Versions 400 and 403]
Contains class block_rss_client\output\feed
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: | 224 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
feed:: (13 methods):
__construct()
export_for_template()
set_title()
get_title()
add_item()
set_items()
get_items()
set_image()
get_image()
set_showtitle()
get_showtitle()
set_showimage()
get_showimage()
__construct($title, $showtitle = true, $showimage = true) X-Ref |
Contructor param: string $title The title of the RSS feed param: boolean $showtitle Whether to show the title param: boolean $showimage Whether to show the channel image |
export_for_template(\renderer_base $output) X-Ref |
Export this for use in a mustache template context. return: stdClass param: renderer_base $output |
set_title($title) X-Ref |
Set the feed title return: \block_rss_client\output\feed param: string $title |
get_title() X-Ref |
Get the feed title return: string |
add_item(item $item) X-Ref |
Add an RSS item param: \block_rss_client\output\item $item |
set_items(array $items) X-Ref |
Set the RSS items param: array $items An array of renderable RSS items |
get_items() X-Ref |
Get the RSS items return: array An array of renderable RSS items |
set_image(channel_image $image) X-Ref |
Set the channel image param: \block_rss_client\output\channel_image $image |
get_image() X-Ref |
Get the channel image return: channel_image |
set_showtitle($showtitle) X-Ref |
Set showtitle return: \block_rss_client\output\feed param: boolean $showtitle |
get_showtitle() X-Ref |
Get showtitle return: boolean |
set_showimage($showimage) X-Ref |
Set showimage return: \block_rss_client\output\feed param: boolean $showimage |
get_showimage() X-Ref |
Get showimage return: boolean |