[Phphtmllib-devel] Site Page Cascading with crated objects. How ?
Status: Beta
Brought to you by:
hemna
From: <mar...@on...> - 2003-11-29 17:32:37
|
(A) Observing the phphtmllib site, when I click at Examples menu link, I see two things (modifications) happening = : 1) A new content-block is instantiating and replaces the HomePage (that was placed in the same block : content-block)= ; 2) A new "menu" is added to the left-block; How this was made? Suppose that I have in (A) momentum (timing, instant) a $page object created/instancied, and it has rendered the page that we are seeing in that instant= =2E Suppose that "Examples" h-link calls (invoke) a php program called xyz=2Ephp, like : <a href=3Dxyz=2Ephp>Examples</a= > What kind of code will doing the right modification of content-block of the $page object into the xyz=2Ephp program = ? How xyz=2Ephp program will see $page object (variable) ?=20 For a good understanding I am thinking that the site was created in the same way(style) of Example3=2Ephp (the using of MyLayoutPage), so=2E=2E= =2E first_page=2Ephp =2E=2E=2E $page =3D new LeftBlockPage("main with menu"); print $page->render(); =2E=2E=2E xyz=2Ephp =2E=2E=2E ????? ????? ???? TIA, Marcos Nobre Brazil Veja o antispam da Netium: http://www.bsb.netium.com.br/servicos/antispam/ |