Class rss2

Description

Located in /rss2.class.php (line 16)


	
			
Method Summary
rss2 __construct (string $title, string $link, [string $description = ''], [string $language = 'en'], [string $generator = 'PHP/ReptilerRSS2Class'], [int $ttl = 60], [bool $sendheader = true])
void additem (string $title, string $description, string $content, [string $url = ''], [string $pubdate = ''], [string $domain = ''], [string $category = ''], [string $author = ''])
string getfeed ()
void output ()
Methods
Constructor __construct (line 78)

Constructor

  • access: public
rss2 __construct (string $title, string $link, [string $description = ''], [string $language = 'en'], [string $generator = 'PHP/ReptilerRSS2Class'], [int $ttl = 60], [bool $sendheader = true])
  • string $title
  • string $link
  • string $description
  • string $language
  • string $generator
  • int $ttl
  • bool $sendheader
additem (line 101)

Add an entry to the feed.

  • access: public
void additem (string $title, string $description, string $content, [string $url = ''], [string $pubdate = ''], [string $domain = ''], [string $category = ''], [string $author = ''])
  • string $title
  • string $description
  • string $content
  • string $url
  • string $pubdate
  • string $domain
  • string $category
  • string $author
getfeed (line 111)

Get the feed.

  • access: public
string getfeed ()
output (line 165)

Output the feed.

  • access: public
void output ()

Documentation generated on Thu, 12 Mar 2009 16:30:26 +0800 by phpDocumentor 1.4.2