mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 21:29:23 +02:00
Noting two more arguments in the list RSSFeed
This commit is contained in:
parent
7c0d47eba0
commit
7669c5b869
@ -21,7 +21,7 @@ define an AbsoluteLink() method.
|
|||||||
RSSFeed::linkToFeed($link, $title)
|
RSSFeed::linkToFeed($link, $title)
|
||||||
|
|
||||||
This line should go in your `[api:Controller]` subclass in the action you want
|
This line should go in your `[api:Controller]` subclass in the action you want
|
||||||
to include the HTML link.
|
to include the HTML link. Not all arguments are required, see `[api:RSSFeed]` and example below. Last Modified Time is expected in seconds like time().
|
||||||
|
|
||||||
:::php
|
:::php
|
||||||
$feed = new RSSFeed(
|
$feed = new RSSFeed(
|
||||||
@ -31,7 +31,9 @@ to include the HTML link.
|
|||||||
$description,
|
$description,
|
||||||
$titleField,
|
$titleField,
|
||||||
$descriptionField,
|
$descriptionField,
|
||||||
$authorField
|
$authorField,
|
||||||
|
$lastModifiedTime,
|
||||||
|
$etag
|
||||||
);
|
);
|
||||||
|
|
||||||
Creates a new `[api:RSSFeed]` instance to be returned. The arguments notify
|
Creates a new `[api:RSSFeed]` instance to be returned. The arguments notify
|
||||||
|
Loading…
Reference in New Issue
Block a user