API16

JError/getErrors: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Method for retrieving the exception stack <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki...
 
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Method for retrieving the exception stack
Method for retrieving the exception stack


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JError/getErrors|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JError/getErrors}}
 
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 28: Line 26:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JError/getErrors|Edit See Also]]<nowiki>]</nowiki>
<! removed transcluded page call, red link never existed >
</span>
{{SeeAlso:JError/getErrors}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getErrors
  category=getErrors
  category=JError
  category=JError
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API16]]

Latest revision as of 01:36, 25 March 2017

Description

Method for retrieving the exception stack


<! removed transcluded page call, red link never existed >

Syntax

static getErrors()


Returns

array Chronological array of errors that have been stored during script execution

Defined in

libraries/joomla/error/error.php

Importing

jimport( 'joomla.error.error' );

Source Body

public static function getErrors()
{
        return JError::$stack;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples