After $this->controller->render(...)
$this->controller->output = '';

hth

On Jul 4, 3:55 pm, keymaster <[EMAIL PROTECTED]> wrote:
> Just upgraded from 1.2 Beta to 1.2 RC2.
>
> In a component, I assign a string represention of a fully rendered
> view/layout to a variable, like this:
>
> $myVar = $this->controller->render('myLayout', 'myView');
>
> That works.
>
> Unfortunately, it also outputs it to the screen, something which did
> not happen in 1.2 Beta.
>
> Anyone know how to get it to NOT output to the screen ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to