flush
[mdref/mdref-pq-gateway] / pq-gateway / pq / Gateway / Table / notify.md
1 # void pq\Gateway\Table::notify([pq\Gateway\Row $row = NULL[, string $event = NULL[, array &$criteria = NULL]]])
2
3 Implements SplSubject.
4
5 ## Params:
6
7 * Optional pq\Gateway\Row $row = NULL
8 The row which created the event.
9 * Optional string $event = NULL
10 The row's event (create/update/delete).
11 * Optional array &$criteria = NULL
12 The criteria for the row update.
13
14 > ***NOTE:***
15 All these params will be passed through to the table's observers after the table itself.
16
17 <?php
18 $observer->update($table, $row, $event, $criteria);
19 ?>