[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/xml/rssparser/ -> rsschannel.class.php (sommaire)

(pas de description)

Poids: 81 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

RSSChannel:: (5 méthodes):
  RSSChannel()
  getTitle()
  getDescription()
  getLink()
  get()


Classe: RSSChannel  - X-Ref

\ingroup XML

<p>Provides information about an RSS channel, fetched from an RSS resource.</p>
<p>This class provides methods to get the value of some of the attributes and possible child
tags of the &lt;channel&lt; tag. In case we need to know about any other value that is not available
via one of the 'getter' functions (getTitle(), getDescription(), getLink()), we can then get
values from the resulting array as generated by the underlying RSS parser using the get() function.
The array is an associative array where the keys are the name of the attribute/tag and the values are
the value of the attribute/tag.</p>
RSSChannel( $rssChannel )   X-Ref
Constructor.

param: rssChannel An associative array which is the output of the MagpieRSS library

getTitle()   X-Ref
Returns the title of the channel

return: Title of the channel

getDescription()   X-Ref
Returns the description of the channel

return: Description of the channel

getLink()   X-Ref
Returns the link of the channel

return: The link of the channel

get( $key )   X-Ref
Gets another property of the channel. The methods shown so far give easier access
to some of the methods more commonly used, but the MagpieRSS will include anything else
in the output array, so access is given to this method. We only need to know the name
of the parameter.

param: key The name of the parameter
return: The value assigned to that parameter



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics