Method to add a category to the feed object.
JFeed
addCategory
(
string $name, [
string $uri =
''])
-
string
$name: The name of the category to add.
-
string
$uri: The optional URI for the category to add.
Method to add a contributor to the feed object.
JFeed
addContributor
(
string $name,
string $email, [
string $uri =
null], [
string $type =
null])
-
string
$name: The full name of the person to add.
-
string
$email: The email address of the person to add.
-
string
$uri: The optional URI for the person to add.
-
string
$type: The optional type of person to add.
Method to add an entry to the feed object.
Whether or not an offset exists. This method is executed when using isset() or empty() on objects implementing ArrayAccess.
boolean
offsetExists
(mixed $offset)
-
mixed
$offset: An offset to check for.
Implementation of:
- ArrayAccess::offsetExists
Returns the value at specified offset.
mixed
offsetGet
(mixed $offset)
-
mixed
$offset: The offset to retrieve.
Implementation of:
- ArrayAccess::offsetGet
Assigns a value to the specified offset.
boolean
offsetSet
(
mixed $offset,
JFeedEntry $value)
-
mixed
$offset: The offset to assign the value to.
-
JFeedEntry
$value: The JFeedEntry to set.
Implementation of:
- ArrayAccess::offsetSet
Unsets an offset.
void
offsetUnset
(mixed $offset)
-
mixed
$offset: The offset to unset.
Implementation of:
- ArrayAccess::offsetUnset
Method to remove a category from the feed object.
JFeed
removeCategory
(
string $name)
-
string
$name: The name of the category to remove.
Method to remove a contributor from the feed object.
Method to remove an entry from the feed object.
Shortcut method to set the author for the feed object.
JFeed
setAuthor
(
string $name,
string $email, [
string $uri =
null], [
string $type =
null])
-
string
$name: The full name of the person to set.
-
string
$email: The email address of the person to set.
-
string
$uri: The optional URI for the person to set.
-
string
$type: The optional type of person to set.
Magic method to return values for feed properties.
mixed
__get
(string $name)
-
string
$name: The name of the property.
Magic method to set values for feed properties.
void
__set
(string $name, mixed $value)
-
string
$name: The name of the property.
-
mixed
$value: The value to set for the property.