Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe FeedEntry

Fonctions membres publiques

 __get ($name)
 
 __set ($name, $value)
 
 addCategory ($name, $uri='')
 
 addContributor ($name, $email, $uri=null, $type=null)
 
 addLink (FeedLink $link)
 
 removeCategory ($name)
 
 removeContributor (FeedPerson $contributor)
 
 removeLink (FeedLink $link)
 
 setAuthor ($name, $email, $uri=null, $type=null)
 

Attributs protégés

 $properties
 

Documentation des fonctions membres

◆ __get()

__get (   $name)

Magic method to return values for feed entry properties.

Paramètres
string$nameThe name of the property.
Renvoie
mixed
Depuis
3.1.4

Références $name, et null.

◆ __set()

__set (   $name,
  $value 
)

Magic method to set values for feed properties.

Paramètres
string$nameThe name of the property.
mixed$valueThe value to set for the property.
Renvoie
void
Depuis
3.1.4

Références $name, $value, et null.

◆ addCategory()

addCategory (   $name,
  $uri = '' 
)

Method to add a category to the feed entry object.

Paramètres
string$nameThe name of the category to add.
string$uriThe optional URI for the category to add.
Renvoie
FeedEntry
Depuis
3.1.4

Références $name, 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$nameThe full name of the person to add.
string$emailThe email address of the person to add.
string$uriThe optional URI for the person to add.
string$typeThe optional type of person to add.
Renvoie
FeedEntry
Depuis
3.1.4

Références $name, $type, et $uri.

◆ addLink()

addLink ( FeedLink  $link)

Method to add a link to the feed entry object.

Paramètres
FeedLink$linkThe link object to add.
Renvoie
FeedEntry
Depuis
3.1.4

Références $link.

Référencé par RssParser\processFeedEntry().

◆ removeCategory()

removeCategory (   $name)

Method to remove a category from the feed entry object.

Paramètres
string$nameThe name of the category to remove.
Renvoie
FeedEntry
Depuis
3.1.4

Références $name.

◆ removeContributor()

removeContributor ( FeedPerson  $contributor)

Method to remove a contributor from the feed entry object.

Paramètres
FeedPerson$contributorThe person object to remove.
Renvoie
FeedEntry
Depuis
3.1.4

◆ removeLink()

removeLink ( FeedLink  $link)

Method to remove a link from the feed entry object.

Paramètres
FeedLink$linkThe link object to remove.
Renvoie
FeedEntry
Depuis
3.1.4

Références $link.

◆ setAuthor()

setAuthor (   $name,
  $email,
  $uri = null,
  $type = null 
)

Shortcut method to set the author for the feed entry object.

Paramètres
string$nameThe full name of the person to set.
string$emailThe email address of the person to set.
string$uriThe optional URI for the person to set.
string$typeThe optional type of person to set.
Renvoie
FeedEntry
Depuis
3.1.4

Références $author, $name, $type, et $uri.

Documentation des champs

◆ $properties

$properties
protected
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 :