Thanks for the replies Events are probably what i need. All to do now is upgrading to 2.1 :)
On Mar 30, 5:57 pm, Thomas Ploch <[email protected]> wrote: > If you are using CakePHP 2.1, use CakeEvent to dispatch events for inter > plugin communication:http://book.cakephp.org/2.0/en/core-libraries/events.html > > On 30.03.2012 16:45, rainerpl wrote: > > > > > > > > > Hi > > > I was wondering , if it is possible to write a plugin, that 'knows' if > > for example a new user registers. > > > E.g would it be possible to write a plugin, that automatically > > duplicates/backs up user registration data, without requiring any > > modifications to the User model. > > (I know i could easily make it using User model alone, but im trying > > to learn how to make plugins.) -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
