Ok what I have is a behavior for logging database changes. (Can be
found here : 
http://code.google.com/p/alkemann/downloads/detail?name=logable.php).
The magic in it is that it configures itself based on what fields you
add to your "logs" table. What this means is that if you create a
field called "action" of the string type in the "logs" table that
field will be automatically filled with "add", "edit" or "delete"
based on what the user did. If the field is not present in the Log
models schema, it will just ignore this feature.

In order to test this I could create a ton of models and fixtures with
different set ups, but I would much rather find some way of changing
the fixture between test methods. Is this possible? Thanks
--~--~---------~--~----~------------~-------~--~----~
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