Class jResponseAtom10

Description

Atom 1.0 response

Known limitations : only text in the title, and only name in categories

Located in /core/response/jResponseAtom10.class.php (line 28)

jResponse
   |
   --jResponseXMLFeed
      |
      --jResponseAtom10
Variable Summary
mixed $_type
Method Summary
void __construct (array 0)
jXMLFeedItem createItem (string $title, string $link, string $date)
boolean output ()
void outputErrors ()
Variables
Methods
Constructor __construct (line 38)

Class constructor

void __construct (array 0)
  • array 0

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

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
getFormatedErrorMsg (line 105)

Format error messages

  • return: formated errors
  • access: protected
string getFormatedErrorMsg ()
output (line 52)

Generate the content and send it

Errors are managed

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

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 83)
  • access: public
void outputErrors ()

Redefinition of:
jResponse::outputErrors()
Send a response with only error messages which appears during the action

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::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:42 +0200 by phpDocumentor 1.4.3