note 16921 added to ref.xml
| From: | ptorric at tsc4 dot com | Date: | Mon, 19 Nov 2001 11:23:20 +0000 |
| Subject: | note 16921 added to ref.xml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20999@lists.php.net to get a copy of this message | ||
I found a little workaround about using class/object with xml function.
Setting a global variable containing the reference to $this, than you can use this variable into the
xml called function.
Summarizing if you wanna have a class for manage xml, you can but you have to define all callback
function outside your class and link all toghether via global call that must be initialized before
calling the parser.
byebye
--
http://www.php.net/manual/en/ref.xml.php
http://master.php.net/manage/user-notes.php?action=edit+16921
http://master.php.net/manage/user-notes.php?action=delete+16921
http://master.php.net/manage/user-notes.php?action=reject+16921