note 56464 deleted from ref.simplexml by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:26:21 +0000 |
| Subject: | note 56464 deleted from ref.simplexml by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155537@lists.php.net to get a copy of this message | ||
Note Submitter: galaxiaguy at hotmail dot com
----
I tried extending SimpleXMLElement to add some functionality and found you can't set new
properties. I assume this is something to do with built-in magic methods or something.
So I wrote a class that behaves the same as SimpleXMLElement (by delegating most of it's work)
but is arbitrarily extendable.
http://www.oliverbrown.me.uk/2005/09/03/extending-simplexml/
It's very new and not very well tested but could be useful to somebody.