Hi!
I have a Commentable behavior.
Now I want to add a new column nb_comments to a Record with this
behavior for performance reasons.
public function setTableDefinition() {
$this->hasColumn('nb_comments', 'integer', null,
array('default' =>
0));
...
But where is the best place to increment/decrement the nb_comments
attribute? in the Comment-Module-Actions during the processForm/
executeDelete is a little dirty, isn't it??
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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