Hello,
First of all English is not my primary language and I'm not sure about to explain my problem properly, I thank you for your patience.
I'm trying to move from ZF to pHalcon. However I had some diffuclties. To be honest I already archieve this. However it looks like a bit hackish. (freeze the falcon and use old clasess). And I just want more offical way to archieve this.
For a long time I use GLOBAL output storages to display pages.
Let say I had standar 3col layout.
Header
Nav Content ADS
Footer
In my curent working way system has default layout (look like above) and may hav use different layout, either by programmer (for static controllers) or my have user configurable (dynamc page renderer) layouts.
(for example leftcol layout
Header
Nav Content ADS
Footer
)
Also I had dynamic page renderer, which user may choose any kind of plugin to put those predefined locations via viusal tools. Plugins also may send output in any location..
it was so simple (to me).
I just store template output in location holder.
t::assign('NAV',t::renderTemplate('this/that.php',array('foo'=>$bar)));
this will send my ouput in to NAV holder.
And at end of the page execution. I fetch the all output then print in proper locations.
php echo t::$NAV;
However, I can't find to use this model in pHalcon way. Is there any way to archieve this ?
My Best Regards