Re: idea of an array/callback storage

Lukas Kahwe Smith <[email protected]> Sun, 06 Nov 2005 21:38:42 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Matthias Nothhaft wrote:
> Arnaud Limbourg schrieb:
> 
> 
>>We need documentation :)
>>
>> 
>>
> 
> The worst thing is that several doc comments are incomplete or obsolete.
> That makes it very hard for people like me that did not write any line
> of the code to understand what's going on. :-(
> So it is even harder for "foreign people" to write documentation ;-)

yeah that is indeed a problem ..
please report any issues you find ..

as for the original question .. with a little tweaking (essentially 
passing the auth container to the permFactory() so that we could have a 
container that just returns the original auth container back as a 
reference) method we should be able to do this and maybe with a little 
__call() magic you could re-use the current containers for the part and 
only overload specific methods. so in this case you would have an auth 
container that aggerates existing auth and perm containers and partially 
overloads.

regards,
Lukas