Details
-
New Feature
-
Resolution: Won't Do
-
Minor
-
None
Description
We will create a hook in the CoPetition::saveAttributes method. The hook will allow a Wedge (Enroller) Plugin to apply logic before the actual save starts. The plugin will be able to alter or modify the requestData or interrupt the petition.
The logic behind this feature is very similar to the beforeSave callback that CAKEPHP provides.