◆ __get()
Magic method to return values for feed entry properties.
- Paramètres
-
string | $name | The name of the property. |
- Renvoie
- mixed
- Depuis
- 3.1.4
Références $name, et null.
◆ __set()
Magic method to set values for feed properties.
- Paramètres
-
string | $name | The name of the property. |
mixed | $value | The value to set for the property. |
- Renvoie
- void
- Depuis
- 3.1.4
Références $name, $this, $value, et null.
◆ addCategory()
addCategory |
( |
|
$name, |
|
|
|
$uri = '' |
|
) |
| |
Method to add a category to the feed entry object.
- Paramètres
-
string | $name | The name of the category to add. |
string | $uri | The optional URI for the category to add. |
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $name, $this, et $uri.
Référencé par RssParser\processFeedEntry().
◆ addContributor()
addContributor |
( |
|
$name, |
|
|
|
$email, |
|
|
|
$uri = null , |
|
|
|
$type = null |
|
) |
| |
Method to add a contributor to the feed entry object.
- Paramètres
-
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. |
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $c, $name, $this, $type, et $uri.
◆ addLink()
◆ removeCategory()
Method to remove a category from the feed entry object.
- Paramètres
-
string | $name | The name of the category to remove. |
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $name, et $this.
◆ removeContributor()
Method to remove a contributor from the feed entry object.
- Paramètres
-
FeedPerson | $contributor | The person object to remove. |
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $c, et $this.
◆ removeLink()
Method to remove a link from the feed entry object.
- Paramètres
-
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $link, et $this.
◆ setAuthor()
setAuthor |
( |
|
$name, |
|
|
|
$email, |
|
|
|
$uri = null , |
|
|
|
$type = null |
|
) |
| |
Shortcut method to set the author for the feed entry object.
- Paramètres
-
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. |
- Renvoie
- FeedEntry
- Depuis
- 3.1.4
Références $author, $name, $this, $type, et $uri.
◆ $properties
Valeur initiale := array(
'uri' => '',
'title' => '',
'updatedDate' => '',
'content' => '',
'categories' => array(),
'contributors' => array(),
'links' => array(),
)
La documentation de cette classe a été générée à partir du fichier suivant :