RE: [fw-general] Zend_Registry needs its set() and has() methods back

2006-12-21 Thread Matthew Ratzloff
offset* are the names used for overloading OO syntax. So $obj-prop, $obj-prop = 5 and isset($obj-prop) should all work nicely. Don't you prefer that syntax? Oh, well that makes more sense. Call my predilection to set and get poisoning from Java. ;-) Looks like these pages should be updated

[fw-general] Zend_Registry needs its set() and has() methods back

2006-12-20 Thread Matthew Ratzloff
Was it an oversight that Zend_Registry lost its set() and has() methods when it was refactored to extend ArrayObject, despite still having a corresponding get() method? I don't know about everyone else, but I prefer to pass around a registry object explicitly rather than rely on the static

RE: [fw-general] Zend_Registry needs its set() and has() methods back

2006-12-20 Thread Andi Gutmans
-general@lists.zend.com; [EMAIL PROTECTED] Subject: Re: [fw-general] Zend_Registry needs its set() and has() methods back Gavin, Thanks for the updated documentation. I gotta say, though, that offsetSet(), offsetGet(), and offsetExists() aren't nearly as intuitive and easy to remember