| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class NewTodoTaskNotifier extends Notifier |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @return Number the event which this module handles. |
||
| 12 | */ |
||
| 13 | public function getEvents() |
||
| 14 | { |
||
| 15 | return OBJECT_SAVE; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * If an event elsewhere has occurred, it enters in this method. This method |
||
| 20 | * executes one or more actions, depends on the event. |
||
| 21 | * @param int $event Event. |
||
| 22 | * @param string $entryid Entryid. |
||
| 23 | * @param array $data array of data. |
||
| 24 | */ |
||
| 25 | public function update($event, $entryid, $props) |
||
| 36 | } |
||
| 37 | } |
||
| 41 |