On Sun, Apr 6, 2008 at 7:31 PM, Chris <[EMAIL PROTECTED]> wrote: > I'm working on a project right now where I need to run some checks on > the model data when it is initialized, I figured symfony/propel would > provide some sort of callback function but I haven't found any
What do you mean by checks, and initialization? If you just want to check some values before saving an object, you can override the save() method or if you need more you sould give a look at behaviors: http://redotheweb.com/2007/09/02/understanding-behaviors/ If you do need data validation at model level, a plugin exists that uses the symfony 1.0 validation system: http://trac.symfony-project.com/wiki/sfPropelValidatePlugin HTH ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" 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/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
