FeedEntry
Class to encapsulate a feed entry for the Joomla Platform.
since |
3.1.4 |
---|---|
package |
Joomla CMS |
Methods
__get
Magic method to return values for feed entry properties.
__get(string name) : mixed
since |
3.1.4 |
---|
Arguments
- name
string
The name of the property.
Response
mixed
__set
Magic method to set values for feed properties.
__set(string name, mixed value) : void
since |
3.1.4 |
---|
Arguments
- name
string
The name of the property.- value
mixed
The value to set for the property.
addCategory
Method to add a category to the feed entry object.
addCategory(string name, string uri = '') : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- name
string
The name of the category to add.- uri
string
The optional URI for the category to add.
Response
\Joomla\CMS\Feed\FeedEntry
addContributor
Method to add a contributor to the feed entry object.
addContributor(string name, string email, string uri = null, string type = null) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- name
string
The full name of the person to add.string
The email address of the person to add.- uri
string
The optional URI for the person to add.- type
string
The optional type of person to add.
Response
\Joomla\CMS\Feed\FeedEntry
addLink
Method to add a link to the feed entry object.
addLink(\Joomla\CMS\Feed\FeedLink link) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- link
\Joomla\CMS\Feed\FeedLink
The link object to add.
Response
\Joomla\CMS\Feed\FeedEntry
removeCategory
Method to remove a category from the feed entry object.
removeCategory(string name) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- name
string
The name of the category to remove.
Response
\Joomla\CMS\Feed\FeedEntry
removeContributor
Method to remove a contributor from the feed entry object.
removeContributor(\Joomla\CMS\Feed\FeedPerson contributor) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- contributor
\Joomla\CMS\Feed\FeedPerson
The person object to remove.
Response
\Joomla\CMS\Feed\FeedEntry
removeLink
Method to remove a link from the feed entry object.
removeLink(\Joomla\CMS\Feed\FeedLink link) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- link
\Joomla\CMS\Feed\FeedLink
The link object to remove.
Response
\Joomla\CMS\Feed\FeedEntry
setAuthor
Shortcut method to set the author for the feed entry object.
setAuthor(string name, string email, string uri = null, string type = null) : \Joomla\CMS\Feed\FeedEntry
since |
3.1.4 |
---|
Arguments
- name
string
The full name of the person to set.string
The email address of the person to set.- uri
string
The optional URI for the person to set.- type
string
The optional type of person to set.
Response
\Joomla\CMS\Feed\FeedEntry