This should work: <?php $this->EmailTwo = new EmailComponent(); ?>
Just make sure you have the component listed in the Controller::components array. On Mar 4, 4:25 pm, Danomite <[EMAIL PROTECTED]> wrote: > I need a way to have one controller have multiple instances of a > component. Is there a way to do this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
