With the release of Propel 1.4, behaviors were introduced. Those
differ from the previous implementation of behaviors in symfony by the
fact that they are executed at the generation stage, and directly
change the OM code (as opposed to the sfMixins implementation in
symfony 1.0-1.2

For more information on Propel behaviors:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.4/Behaviors

However, the fact that these behaviors are now not applied in runtime
but instead in the generation stage means that they have to be defined
in propel's build properties (config/propel.ini for symfony).
Example definition:
propel.behavior.sf_guard_authored.class =
lib.propel_behaviors.sfGuardProfileAuthoredBehavior
(I wrote a propel behavior implementation of
http://www.symfony-project.org/plugins/sfGuardPropelAuthoredBehaviorPlugin)

In other words, to activate a Propel behavior one has to change
propel.ini, thus bundling it in a plugin becomes crumblesome (not all
users read the plugin documentation very carefully ;). Shouldn't
symfony facilitate a way to do this with plugin:install?

--

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=.


Reply via email to