| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | #[Override] |
||
| 26 | public function update($event, $entryid, $props) { |
||
| 27 | switch ($event) { |
||
| 28 | case OBJECT_SAVE: |
||
| 29 | $data['item'][] = [ |
||
|
|
|||
| 30 | 'entryid' => $entryid, |
||
| 31 | 'store_entryid' => bin2hex((string) $props[PR_STORE_ENTRYID]), |
||
| 32 | ]; |
||
| 33 | $this->addNotificationActionData("newtodotask", $data); |
||
| 34 | $GLOBALS["bus"]->addData($this->createNotificationResponseData()); |
||
| 35 | break; |
||
| 36 | } |
||
| 39 |