1: <?php
2: /*
3: notificationHandler.class.php
4: Copyright 2012 Mika Ristolainen/Bmm Solutions
5: */
6:
7:
8: class notificationHandler extends pluginHandler {
9:
10: private $instance;
11:
12: public function __construct ($oid = null){
13: $this->instance = $this;
14: $this->initialize();
15: }
16:
17: public function initialize(){}
18:
19: public function notify(&$actionhandler){
20: $obid = $this->getEnabledObjectId();
21: if (!is_numeric($obid)) return false;
22: $this->objlist[$obid]->notify($actionhandler);
23: }
24: }
25: ?>
26: