Thanks for good example! I'm just newbie in CakePHP 8-)
On 18 янв, 18:40, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> No, you can render any view you want, even you can render no view.
>
> if ($inGoodMood){
> $this->render('happy_face');} else {
>
> $this->render('grumpy_face');
>
> }
>
> 2008/1/18 Frobozz <[EMAIL PROTECTED]>:
>
>
>
> > Since you have to create one view for one controller/action, no? Maybe
> > I'm wrong but I always was thinking that this is paradigm of CakePHP.
>
> > On 18 янв, 15:09, AD7six <[EMAIL PROTECTED]> wrote:
> > > On Jan 18, 10:06 am, Frobozz <[EMAIL PROTECTED]> wrote:
>
> > > > In my opinion it's more correctly to keep one view template that
> > > > contains both view templates and switches between them (so you'll got
> > > > one one view file for controller/action - that is how CakePHP wants
> > > > you to do this).
>
> > > Since when?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---