You are here: Object Tree « All PHP « IT news, forums, messages
Object Tree

Posted by Wenting, Marcel on 09/24/06 14:04

Hello all,

I am building a object tree, something like
$A(object)->B(object)->C(object)->D(object)
but it could get as deep as you wish, so as in the example even to the
letter E, F or even Z if you like to.
That is accomplished, but now I want that a function in the last object
node calls a function in the node above.
so that D->function() calls C->function.
Has anyone a clue how to achieve this?
parent doesnt work since it is no inheritance.

any advise is welcome,

Marcel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация