I am not sure what you asked for, but I will give it a try anyway :)

If you define a component in the AppController, then the component
will be available for all Controllers.
If you define a component in a specific Controller, then the component
will only be available in that Controller. The components defined in
the AppController will also be available to the Controller.

Was this what you were asking for?
Enjoy,
   John


On Jun 10, 4:39 pm, emanuele <[email protected]> wrote:
> Hello fellows,
> I want to share same components between controllers and I want some local to
> single controller.  If I re-define $components locally to the controller,
> cake performs the override or the "array_merge" of the global and local
> components variable?
>
> thanks in advance
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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