Brotkrueml\FeedGenerator\Contract\FeedInterface¶
- interface \Brotkrueml\FeedGenerator\Contract\ FeedInterface
-
Interface for a feed.
- getId ( )
-
Get a unique identifier associated with this feed. Used in Atom only.
- returntype
-
string
- getTitle ( )
-
Get the title of the feed.
- returntype
-
string
- getDescription ( )
-
Get the text description of the feed.
- returntype
-
string
- getLink ( )
-
Get a URI to the HTML website containing the same or similar information as this feed (i.e. if the feed is from a blog, it should provide the blog's URI where the HTML version of the entries can be read).
- returntype
-
string
- getAuthors ( )
-
Get the data for authors.
- returntype
-
Brotkrueml\FeedGenerator\Collection\Collection
- getDatePublished ( )
-
Get the date on which this feed was published. Used in RSS only.
- returntype
-
DateTimeInterface
- getDateModified ( )
-
Get the date on which this feed was last modified. Used in Atom only.
- returntype
-
DateTimeInterface
- getLastBuildDate ( )
-
Get the date on which this feed was last build. Used in RSS only.
- returntype
-
DateTimeInterface
- getLanguage ( )
-
Get the language of the feed. Used in Atom and RSS.
- returntype
-
string
- getCopyright ( )
-
Get a copyright notice associated with the feed. Used in Atom and RSS.
- returntype
-
string
- getImage ( )
-
Get an image. Used in Atom and RSS.
- returntype
-
Brotkrueml\FeedGenerator\Contract\ImageInterface
- getCategories ( )
-
- returntype
-
Brotkrueml\FeedGenerator\Collection\Collection
- getItems ( )
-
Get the items of the feed.
- returntype
-
Brotkrueml\FeedGenerator\Collection\Collection
- getStyleSheet ( )
-
Get the path for an XSL stylesheet. Used in Atom and RSS.
The path should be prefixed with "EXT:".
- returntype
-
string
- getExtensionContents ( )
-
Get extension contents for the feed
- returntype
-
Brotkrueml\FeedGenerator\Collection\Collection