Call the render function with the view name.
$this->render('view_name');
On Thu, Feb 14, 2008 at 9:32 PM, Shadows_Cl <[EMAIL PROTECTED]> wrote:
>
> how i can use two views with a single method of a controller?
>
> if(something){
>
> use default view
>
> }else{
> use another view
> }
> >
>
--
Renan Gonçalves - Software Engineer
Cell Phone: +55 (11) 8633-6018
MSN: [EMAIL PROTECTED]
Web Site: renangoncalves.com
São Paulo - SP/Brazil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---