Is there such a thing? Best I can do is overload the write() function like so..
public function write() {
parent::write();
// do some stuff
}
The problem is, the "do some stuff" gets executed 4 times. Any idea why write() gets called so many times? Once for each relation, maybe? And what can I do about this?