|
xslt_set_error_handler
Set an error handler for a XSLT processor
(PHP 4 >= 4.0.4)
Example 2665. xslt_set_error_handler() Example<?php The above example will output something similar to: array(4) { Code Examples / Notes » xslt_set_error_handler26-aug-2002 09:15
To set the error handler to the instance of an object, use the: xslt_set_error_handler($xh, array($obj, $method)) syntax. jocke n0spam
Addition to the last note. in the array I have used array($this, "myMethod") to make it use an internal function in a class. I reckon this is how it is meant to work (not tested) $myObj = new MyObj() xslt_set_error_handler_($xh, array($myObj, "myErrorMethod")); |
Change Languagexslt_backend_info xslt_backend_name xslt_backend_version xslt_create xslt_errno xslt_error xslt_free xslt_getopt xslt_process xslt_set_base xslt_set_encoding xslt_set_error_handler xslt_set_log xslt_set_object xslt_set_sax_handler xslt_set_sax_handlers xslt_set_scheme_handler xslt_set_scheme_handlers xslt_setopt |