i think i remember, that using a component in another component is
nothing different than using a component in a controller:
so add var $components = array('mycomponent'); and then you got it in
$this->mycomponent->...
i may be wrong, but thats how i remembered this
On 5 Feb., 22:06, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> I want to use a component with in another component. How good this practice
> is and is there any specific syntax that cake specifies to do this job.
> Right now i am using direct PHP to call the function of the another class
> component.
>
> --
> Thanks & Regards,
> Novice (http://ishuonweb.wordpress.com/).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---