API15

Difference between revisions of "JDocumentRendererMessage"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JDocumentRendererMe...)
 
m (preparing for archive only)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
+
[[JDocumentRendererMessage]] is responsible for rendering the error stack.  It is called whenever a <code><jdoc:include type="message" /></code> statement is encountered in the document template.
<nowiki>[</nowiki>[[Description:JDocumentRendererMessage|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
{{Description:JDocumentRendererMessage}}
 
  
 
===Defined in===
 
===Defined in===
Line 15: Line 12:
 
|Renders the error stack and returns the results as a string
 
|Renders the error stack and returns the results as a string
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.document.html.renderer.message' );</source>
 
<source lang="php">jimport( 'joomla.document.html.renderer.message' );</source>
  
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentRendererMessage|Edit See Also]]<nowiki>]</nowiki>
+
 
</span>
 
{{SeeAlso:JDocumentRendererMessage}}
 
  
 
===Examples===
 
===Examples===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
  noresultsheader=\n
 
  noresultsheader=\n
 
  category=JDocumentRendererMessage
 
  category=JDocumentRendererMessage
  category=CodeExample
+
  namespace=CodeExample
 
  category=ClassExample
 
  category=ClassExample
 
  include=*
 
  include=*
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>

Latest revision as of 19:32, 24 March 2017

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

JDocumentRendererMessage is responsible for rendering the error stack. It is called whenever a <jdoc:include type="message" /> statement is encountered in the document template.

Defined in[edit]

libraries/joomla/document/html/renderer/message.php

Methods[edit]

Method name Description
render Renders the error stack and returns the results as a string

Importing[edit]

jimport( 'joomla.document.html.renderer.message' );



Examples[edit]

Code Examples[edit]