[ 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/ -> rssenclosure.class.php (sommaire)

(pas de description)

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

Définit 1 class

RssEnclosure:: (5 méthodes):
  RssEnclosure()
  getLength()
  getSize()
  getMimeType()
  getUrl()


Classe: RssEnclosure  - X-Ref

\ingroup XML

represents an enclosure from an rss 2.0 feed. This object needs
our patched version of MagpieRSS which has support for enclosures.

Objects of this class are returned via the RssItem::getEnclosures() method, as an
array of enclosures in case the RSS item has any.
RssEnclosure( $enclosure )   X-Ref
builds the object based on the results gotten from MagpieRSS

param: enclosure an array as generated by MagpieRSS containing all the necessary

getLength()   X-Ref
returns the length in bytes of the enclosure

return: the length in bytes

getSize()   X-Ref
alias of the above


getMimeType()   X-Ref
returns the mime type as specified by the enclosure

return: mime type

getUrl()   X-Ref
returns the enclosure where the url is located

return: a url



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