note 25644 added to function.xslt-set-error-handler
| From: | jocke at rack1 dot php dot net | Date: | Tue, 01 Oct 2002 13:20:48 +0000 |
| Subject: | note 25644 added to function.xslt-set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37464@lists.php.net to get a copy of this message | ||
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"));
--
http://www.php.net/manual/en/function.xslt-set-error-handler.php
http://master.php.net/manage/user-notes.php?action=edit+25644
http://master.php.net/manage/user-notes.php?action=delete+25644
http://master.php.net/manage/user-notes.php?action=reject+25644