1
1
<?php
2
- /** notification manager*/
2
+ /*=========================================================================
3
+ MIDAS Server
4
+ Copyright (c) Kitware SAS. 26 rue Louis Guérin. 69100 Villeurbanne, FRANCE
5
+ All rights reserved.
6
+ More information http://www.kitware.com
7
+
8
+ Licensed under the Apache License, Version 2.0 (the "License");
9
+ you may not use this file except in compliance with the License.
10
+ You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0.txt
13
+
14
+ Unless required by applicable law or agreed to in writing, software
15
+ distributed under the License is distributed on an "AS IS" BASIS,
16
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ See the License for the specific language governing permissions and
18
+ limitations under the License.
19
+ =========================================================================*/
20
+
21
+ /** Notification manager for the @MN@ module */
3
22
class @MN_CAP @_Notification extends MIDAS_Notification
4
23
{
5
24
public $ moduleName = '@MN@ ' ;
6
25
7
- /** init notification process */
26
+ /** Init notification process */
8
27
public function init ()
9
28
{
10
29
$ fc = Zend_Controller_Front::getInstance ();
@@ -14,13 +33,10 @@ public function init()
14
33
$ this ->addCallBack ('CALLBACK_CORE_ITEM_DELETED ' , 'handleItemDeleted ' );
15
34
}
16
35
17
- /**
18
- * STUB: example of receiving a callback when an item is deleted
19
- */
36
+ /** STUB: Example of receiving a callback when an item is deleted */
20
37
public function handleItemDeleted ($ params )
21
38
{
22
39
$ itemDao = $ params ['item ' ];
23
- // TODO do something about this item dao
40
+ // TODO: Do something with this item DAO
24
41
}
25
42
}
26
- ?>
0 commit comments