API16

JError/attachHandler: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Method that attaches the error handler to JError <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JError/attachHandler|Edit Descript...
 
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Method that attaches the error handler to JError
Method that attaches the error handler to JError


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


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


===Syntax===
===Syntax===
Line 25: Line 23:
</source>
</source>


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


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=attachHandler
  category=attachHandler
  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 that attaches the error handler to JError


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

Syntax

static attachHandler()


Defined in

libraries/joomla/error/error.php

Importing

jimport( 'joomla.error.error' );

Source Body

public static function attachHandler()
{
        set_error_handler(array('JError', 'customErrorHandler'));
}


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

Examples

Code Examples