>If you mean Client's $structure, the you have to use static::$structure 
>and it should work. However it's quite a bad design here since you have 
>no way to ensure class inheriting from Entity would have $structure.

Couldn't I write: isset(static::$structure) ?

BTW, sorry for my recent vulgar intrusions on PHP internal forum.
I know I am not skilled enough for it, I should have read more carefully
some previous posts, and I am just a big redneck.
Mea culpa :)

So this will be my very last (and so much naïve) question: do you know how
people cope with it in other OO languages?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to