Class jResponseRss20

Description
Variable Summary
mixed $_type
Method Summary
jResponseRss20 __construct ()
jXMLFeedItem createItem (string $title, string $link, string $date)
boolean output ()
Variables
Methods
Constructor __construct (line 34)

Class constructor

jResponseRss20 __construct ()

Redefinition of:
jResponseXMLFeed::__construct()
Class constructor
createItem (line 78)

create a new item

  • access: public
jXMLFeedItem createItem (string $title, string $link, string $date)
  • string $title: the item title
  • string $link: the link
  • string $date: the date of the item

Redefinition of:
jResponseXMLFeed::createItem()
create a new item
output (line 48)

Generate the content and send it.

  • return: true if generation is ok, else false
  • access: public
boolean output ()

Redefinition of:
jResponse::output()
Send the response in the correct format. If errors or exceptions appears during this method, outputErrors will be called. So the the content should be generated using the output buffer if errors can be appeared during this generation. Be care of http headers.

Inherited Methods

Inherited From jResponseXMLFeed

jResponseXMLFeed::__construct()
jResponseXMLFeed::addItem()
jResponseXMLFeed::addOptionals()
jResponseXMLFeed::addXSLStyleSheet()
jResponseXMLFeed::createItem()
jResponseXMLFeed::_outputOptionals()
jResponseXMLFeed::_outputXmlHeader()

Inherited From jResponse

jResponse::__construct()
jResponse::addHttpHeader()
jResponse::cleanCacheHeaders()
jResponse::clearHttpHeaders()
jResponse::getFormatType()
jResponse::getType()
jResponse::isValidCache()
jResponse::output()
jResponse::outputErrors()
jResponse::sendHttpHeaders()
jResponse::setExpires()
jResponse::setHttpStatus()
jResponse::setLifetime()
jResponse::_checkRequestType()
jResponse::_normalizeDate()

Documentation generated on Mon, 26 Oct 2015 21:55:44 +0100 by phpDocumentor 1.4.3