LOL, yeah I copied it from a post I made, this code isnt the neatest. It was my first dabble in making a dom class. Really it is quite an advanced peice of code hence why it makes little sence to most.

Im not really a fan of registry classes, they add quite alot of overhead to page generation. I find its better to just have a few classes that are always defined as the same variable e.g $db, $acl, $user etc.

I think Ill post a download to ddl2 rc1 in this thread for you take a look and give me an honest code review before I release normally if your up for it.