Using Zend tableGateway to INSERT on one table and UPDATE another

140 views Asked by At

Supose you have a module called orders, which when it adds, It should update a value on another module (table of another module), and orders does include the id of the other module it its table. I plan on doing this with Zend's TableGateway, But I have no idea how would I alter other table.

1

There are 1 answers

0
venca On

Well, you can trigger an event after order insert. In your second module create an listener for your order insert event.