Monday, March 12, 2012

Re: AppComponent

you can always use classic OOP to extend a base class (similar to the new BaseAuth etc)

create your BaseComponent and then extend it:

    MyExampleComponent extends BaseComponent



Am Montag, 12. März 2012 11:19:08 UTC+1 schrieb Ernesto:
Hi all

i have an app with 4 components.
every component has some parts wich are common (calculating sessionVar, some default settings and so on)
is there any way to have a class, like AppController is for Controllers where i can define some standards for my components?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate