Good evening!

I'm using propel behaviors to do some simple auditing on some of the  
tables in my database (created_by / updated_by, basically).
To this end I am declaring the following in my project's config.php:

sfPropelBehavior::registerHooks('simple_audit', array(
   ':save:pre' => array('sfPropelSimpleAuditBehavior', 'preSave'),
));

When running 'symfony propel-build-model' I get:

hellfish:~/work/2007/vdms aderuwe$ symfony propel-build-model
PHP Fatal error:  Class 'sfPropelBehavior' not found in /Users/ 
aderuwe/work/2007/vdms/config/config.php on line 8

When I include the file manually, everything works as expected.
Is this correct behavior?  Maybe this is not far along enough in the  
whole request process for classes to be autoloaded?
What would be the symfony way of handling this, if so?

Thanks!


Alexander

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to