API16

API16:JError/attachHandler

From Joomla! Documentation

Revision as of 22:44, 22 March 2010 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Method that attaches the error handler to JError

[Edit Descripton]

Template:Description:JError/attachHandler

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'));
}

[Edit See Also] Template:SeeAlso:JError/attachHandler

Examples

<CodeExamplesForm />