You are here: RE: [PHP] MVC platform choice. « PHP « IT news, forums, messages
RE: [PHP] MVC platform choice.

Posted by Ahmed Saad on 10/20/57 11:33

Hi Greg,

On 12/1/05, Greg Donald <destiney@destiney.com> wrote:
> Do you still have to reassign the data in the view for use in the
> template after having already created it once in the action? That is
> quite the pain.


in View::execute() you can quickly import all request parameters or
attributes into your template...
for parameters, use View::importAttributes() (yes the name is correct)
for attributes use $this->setAttributes($request->getAttributes());

be sure to check out the latest SVN version for many bugfixes and enhancments

-ahmed

 

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

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