Re: [PHP-DEV] accessing protected method of 'delegated' object ...

2005-12-23 Thread Marcus Boerger
Hello Jochem, Friday, December 23, 2005, 1:28:36 PM, you wrote: > if I have an object with a given base class and it > has an object as a property which has the same base class > should I or should I not be able to call a protected method > on the contained (delegated) from the first (container)

[PHP-DEV] accessing protected method of 'delegated' object ...

2005-12-23 Thread Jochem Maas
if I have an object with a given base class and it has an object as a property which has the same base class should I or should I not be able to call a protected method on the contained (delegated) from the first (container) object? currently I am not able to do what I thought should work, below