API15

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
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


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


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


===Syntax===
===Syntax===
Line 26: Line 26:


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


===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 API15]]

Latest revision as of 00:34, 25 March 2017

Description

Method that attaches the error handler to JError

[<! removed edit link to red link >]

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

Syntax

attachHandler()


Defined in

libraries/joomla/error/error.php

Importing

jimport( 'joomla.error.error' );

Source Body

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

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples