Class to display RSS channel images.
More...
|
string | $link |
| The URL of the image link.
|
|
string | $title |
| The title of the image.
|
|
string | $url |
| The URL location of the image.
|
|
Class to display RSS channel images.
- Copyright
- 2016 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\channel_image::__construct |
( |
\moodle_url | $url, |
|
|
| $title, |
|
|
?\moodle_url | $link = null ) |
Contructor.
- Parameters
-
moodle_url | $url | The URL location of the image |
string | $title | The title of the image |
moodle_url | $link | The URL of the image link |
◆ export_for_template()
block_rss_client\output\channel_image::export_for_template |
( |
\renderer_base | $output | ) |
|
Export this for use in a mustache template context.
- See also
- templatable::export_for_template()
- Parameters
-
- Return values
-
array | The data for the template |
◆ get_link()
block_rss_client\output\channel_image::get_link |
( |
| ) |
|
Get the link.
- Return values
-
◆ get_title()
block_rss_client\output\channel_image::get_title |
( |
| ) |
|
Get the title.
- Return values
-
◆ get_url()
block_rss_client\output\channel_image::get_url |
( |
| ) |
|
Get the URL.
- Return values
-
◆ set_link()
block_rss_client\output\channel_image::set_link |
( |
| $link | ) |
|
Set the link.
- Parameters
-
- Return values
-
◆ set_title()
block_rss_client\output\channel_image::set_title |
( |
| $title | ) |
|
Set the title.
- Parameters
-
- Return values
-
◆ set_url()
block_rss_client\output\channel_image::set_url |
( |
\moodle_url | $url | ) |
|
Set the URL.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- blocks/rss_client/classes/output/channel_image.php