Feature request/thought..
At times you want might want to tie certain events to the creating or
saving of a model record.. For example you might setup a new user
email to go out anytime an insert into your member table is done.
This ensures no matter how a member is added a new user email gets
sent out.
The place this fails is during transactions, If member registration
has multiple steps its feasible for the email to get sent even if the
transaction fails.
Hence, I suggest another function within Solar_Sql_Adapter
public function register($class, $method);
This would register the class and method as a callback to be run on
successful commit. This way you can perform as many finishing tasks as
you wish..
Richard Thomas
http://www.cyberlot.net_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk