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 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
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 registe
Add something to the User->afterSave method and check the $created variable -
if it's true then do your backups, if it's false it's an update so do nothing.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 30 Mar 2012, at 15:45:03, rainerpl wrote:
> Hi
>
> I was wondering , if it is po
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