[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/domit/ -> xml_domit_rss_lite.php (summary)

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
File Size: 244 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/domit/xml_domit_rss_shared.php

Defines 3 classes

xml_domit_rss_document_lite:: (3 methods):
  xml_domit_rss_document_lite()
  _init()
  getVersion()

xml_domit_rss_channel_lite:: (7 methods):
  xml_domit_rss_channel_lite()
  _init()
  getTitle()
  getLink()
  getDescription()
  getItemCount()
  getItem()

xml_domit_rss_item_lite:: (5 methods):
  xml_domit_rss_item_lite()
  _init()
  getTitle()
  getLink()
  getDescription()


Class: 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

Class: 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

Class: 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



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1