Class to help display an RSS Block footer.
More...
|
| __construct ($channelurl=null) |
| Constructor.
|
|
| export_for_template (\renderer_base $output) |
| Export context for use in mustache templates.
|
|
| get_channelurl () |
| Get the channel url.
|
|
| set_channelurl (\moodle_url $channelurl) |
| Set the channel url.
|
|
| set_failed (\moodle_url $manageurl) |
| Record the fact that there is at least one failed feed (and the URL for viewing these failed feeds).
|
|
|
moodle_url null | $channelurl |
| The link provided in the RSS channel.
|
|
moodle_url null | $manageurl = null |
| Link to manage feeds, only provided if a feed has failed.
|
|
Class to help display an RSS Block footer.
- Copyright
- 2015 Howard County Public School System
- Author
- Brendan Anderson brend.nosp@m.an_a.nosp@m.nders.nosp@m.on@h.nosp@m.cpss..nosp@m.org
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
block_rss_client\output\footer::__construct |
( |
| $channelurl = null | ) |
|
Constructor.
- Parameters
-
moodle_url | $channelurl | (optional) The link provided in the RSS channel |
◆ export_for_template()
block_rss_client\output\footer::export_for_template |
( |
\renderer_base | $output | ) |
|
Export context for use in mustache templates.
- See also
- templatable::export_for_template()
- Parameters
-
- Return values
-
◆ get_channelurl()
block_rss_client\output\footer::get_channelurl |
( |
| ) |
|
Get the channel url.
- Return values
-
◆ set_channelurl()
block_rss_client\output\footer::set_channelurl |
( |
\moodle_url | $channelurl | ) |
|
Set the channel url.
- Parameters
-
- Return values
-
◆ set_failed()
block_rss_client\output\footer::set_failed |
( |
\moodle_url | $manageurl | ) |
|
Record the fact that there is at least one failed feed (and the URL for viewing these failed feeds).
- Parameters
-
moodle_url | $manageurl | the URL to link to for more information |
The documentation for this class was generated from the following file:
- blocks/rss_client/classes/output/footer.php