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::$forcedHttpVersion
jResponse::$httpVersion
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
jResponse::$_outputOnlyHeaders
jResponse::$_type
Methods
Constructor __construct (line 64)

Class constructor

jResponseXMLFeed __construct ()

Redefinition of:
jResponse::__construct()
constructor

Redefined in descendants as:
addItem (line 85)

register an item in the channel

  • access: public
void addItem (jXMLFeedItem $item)
addOptionals (line 90)
  • access: public
void addOptionals ( $content)
  • $content
addXSLStyleSheet (line 96)
  • access: public
void addXSLStyleSheet ( $src, [ $params = array ()])
  • $src
  • $params
createItem (line 79)

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 114)
  • access: protected
void _outputOptionals ()
_outputXmlHeader (line 102)
  • access: protected
void _outputXmlHeader ()

Inherited Methods

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 Wed, 04 Jan 2017 22:56:30 +0100 by phpDocumentor 1.4.3