HTML response
Located in /core/response/jResponseHtml.class.php (line 27)
jResponse | --jResponseHtml
Selector of the template used when there are some errors, instead of $bodyTpl
body attributes
This attributes are written on the body tags
selector of the main template file
This template should contains the body content, and is used by the $body template engine
favicon url linked to the document
Title of the document
says if xhtml content type should be send or not.
it true, a verification of HTTP_ACCEPT is done.
content for the body
content for the body
the charset of the document
content for the head
content for the head
says what part of the html head has been send
says if the document is in xhtml or html
content for the head
content for the head
content for the head
the lang of the document
content for the head
content for the head
content for the head
content for the head
says if the document uses a Strict or Transitional Doctype
content for the head
jresponse id
Inherited from jResponse
jResponse::$_acceptSeveralErrors
jResponse::$_errorMessages
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
constructor;
setup the charset, the lang, the template engine
add content to the body
you can add additionnal content, before or after the content generated by the main template
add a link to a css stylesheet in the document head
$forIe parameter exists since 1.0b2
add additional content into the document head
add inline javascript code (inside a <script> tag)
add a link to a javascript script in the document head
$forIe parameter exists since 1.0b2
add a generic link to the head
add a description in a description meta tag
add some keywords in a keywords meta tag
add inline css style into the document (inside a <style> tag)
used to erase some head properties
The method you can overload in your inherited html response
overload it if you want to add processes (stylesheet, head settings, additionnal content etc..) after all actions
return the end of a html tag : "/>" or ">", depending if it will generate xhtml or html
output the html content
generate the doctype. You can override it if you want to have your own doctype, like XHTML+MATHML.
output errors
change the type of html for the output
activate / deactivate the strict Doctype (activated by default)
same use as doAfterActions, but deprecated method. It is just here for compatibility with Jelix 1.0.
Use doAfterActions instead
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 Thu, 22 Mar 2012 22:16:41 +0100 by phpDocumentor 1.4.3