[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Feed/ -> FeedEntry.php (summary)

Joomla! Content Management System

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 272 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FeedEntry:: (9 methods):
  __get()
  __set()
  addCategory()
  addContributor()
  addLink()
  removeCategory()
  removeContributor()
  removeLink()
  setAuthor()


Class: FeedEntry  - X-Ref

Class to encapsulate a feed entry for the Joomla Platform.

__get($name)   X-Ref
Magic method to return values for feed entry properties.

param: string  $name  The name of the property.
return: mixed

__set($name, $value)   X-Ref
Magic method to set values for feed properties.

param: string  $name   The name of the property.
param: mixed   $value  The value to set for the property.
return: void

addCategory($name, $uri = '')   X-Ref
Method to add a category to the feed entry object.

param: string  $name  The name of the category to add.
param: string  $uri   The optional URI for the category to add.
return: FeedEntry

addContributor($name, $email, $uri = null, $type = null)   X-Ref
Method to add a contributor to the feed entry object.

param: string  $name   The full name of the person to add.
param: string  $email  The email address of the person to add.
param: string  $uri    The optional URI for the person to add.
param: string  $type   The optional type of person to add.
return: FeedEntry

addLink(FeedLink $link)   X-Ref
Method to add a link to the feed entry object.

param: FeedLink  $link  The link object to add.
return: FeedEntry

removeCategory($name)   X-Ref
Method to remove a category from the feed entry object.

param: string  $name  The name of the category to remove.
return: FeedEntry

removeContributor(FeedPerson $contributor)   X-Ref
Method to remove a contributor from the feed entry object.

param: FeedPerson  $contributor  The person object to remove.
return: FeedEntry

removeLink(FeedLink $link)   X-Ref
Method to remove a link from the feed entry object.

param: FeedLink  $link  The link object to remove.
return: FeedEntry

setAuthor($name, $email, $uri = null, $type = null)   X-Ref
Shortcut method to set the author for the feed entry object.

param: string  $name   The full name of the person to set.
param: string  $email  The email address of the person to set.
param: string  $uri    The optional URI for the person to set.
param: string  $type   The optional type of person to set.
return: FeedEntry



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer