[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> xml_domit_rss_lite.php (sommaire)

DOMIT! RSS Lite is a lightweight version of the DOMIT! Lite RSS parser

Author: John Heinstein <johnkarl@nbnet.nb.ca>
Copyright: (C) 2004 John Heinstein. All rights reserved
License: http://www.gnu.org/copyleft/lesser.html LGPL License
Version: 0.51
Poids: 244 lignes (7 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 includes/domit/xml_domit_rss_shared.php

Définit 3 classes

xml_domit_rss_document_lite:: (3 méthodes):
  xml_domit_rss_document_lite()
  _init()
  getVersion()

xml_domit_rss_channel_lite:: (7 méthodes):
  xml_domit_rss_channel_lite()
  _init()
  getTitle()
  getLink()
  getDescription()
  getItemCount()
  getItem()

xml_domit_rss_item_lite:: (5 méthodes):
  xml_domit_rss_item_lite()
  _init()
  getTitle()
  getLink()
  getDescription()


Classe: xml_domit_rss_document_lite  - X-Ref

The base DOMIT! RSS Lite document class

xml_domit_rss_document_lite($url = '', $cacheDir = './', $cacheTime = 3600)   X-Ref
Constructor

param: string Path to the rss file
param: string Directory for cache files
param: int Expiration time for a cache file

_init()   X-Ref
Performs initialization of the RSS document


getVersion()   X-Ref
Returns the current version of DOMIT! RSS

return: Object The current version of DOMIT! RSS

Classe: xml_domit_rss_channel_lite  - X-Ref

Represents an RSS channel

xml_domit_rss_channel_lite(&$channel)   X-Ref
Constructor

param: Object A DOM node containing channel data

_init()   X-Ref
Performs initialization of the RSS channel element


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

return: string The title of the channel, or an empty string

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

return: string The url of the channel, or an empty string

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

return: string A description of the channel, or an empty string

getItemCount()   X-Ref
Returns the number of items in the channel

return: int The number of items in the channel

getItem($index)   X-Ref
Returns a reference to the item at the specified index

param: int The index of the requested item
return: Object A reference to the item at the specified index

Classe: xml_domit_rss_item_lite  - X-Ref

Represents an RSS item

xml_domit_rss_item_lite(&$item)   X-Ref
Constructor

param: Object A DOM node containing item data

_init()   X-Ref
Performs initialization of the item element


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

return: string The title of the item, or an empty string

getLink()   X-Ref
Returns the url of the item

return: string The url of the item, or an empty string

getDescription()   X-Ref
Returns a description of the item

return: string A description of the item, or an empty string



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics