Class jResponseXMLFeed

Description

Responses for Syndication should inherits from jResponseXMLFeed

  • abstract:
  • since: 1.0b1

Located in /core/response/jResponseXmlFeed.class.php (line 19)

jResponse
   |
   --jResponseXMLFeed
Direct descendents
Class Description
jResponseRss20 Rss2.0 response
jResponseAtom10 Atom 1.0 response
Variable Summary
Method Summary
jResponseXMLFeed __construct ()
void addItem (jXMLFeedItem $item)
void addOptionals ( $content)
void addXSLStyleSheet ( $src, [ $params = array ()])
jXMLFeedItem createItem (string $title, string $link, string $date)
Variables
string $charset (line 25)

charset used in the channel

  • access: public
jXMLFeedInfo $infos = null (line 37)

informations about the channel

  • access: public
mixed $itemList = array () (line 42)

array of channel item

  • access: public
string $lang (line 31)

Language used in the channel

  • access: public

Inherited Variables

Inherited from jResponse

jResponse::$_acceptSeveralErrors
jResponse::$_errorMessages
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
jResponse::$_type
Methods
Constructor __construct (line 64)

Class constructor

jResponseXMLFeed __construct ()

Redefinition of:
jResponse::__construct()
constructor

Redefined in descendants as:
addItem (line 87)

register an item in the channel

  • access: public
void addItem (jXMLFeedItem $item)
addOptionals (line 92)
  • access: public
void addOptionals ( $content)
  • $content
addXSLStyleSheet (line 98)
  • access: public
void addXSLStyleSheet ( $src, [ $params = array ()])
  • $src
  • $params
createItem (line 81)

create a new item

  • abstract:
  • 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

Redefined in descendants as:
_outputOptionals (line 116)
  • access: protected
void _outputOptionals ()
_outputXmlHeader (line 104)
  • access: protected
void _outputXmlHeader ()

Inherited Methods

Inherited From jResponse

jResponse::__construct()
jResponse::acceptSeveralErrors()
jResponse::addHttpHeader()
jResponse::clearHttpHeaders()
jResponse::getFormatType()
jResponse::getType()
jResponse::hasErrors()
jResponse::output()
jResponse::outputErrors()
jResponse::sendHttpHeaders()
jResponse::setHttpStatus()

Documentation generated on Wed, 07 Sep 2011 13:47:51 +0200 by phpDocumentor 1.4.3