-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notification.php
27 lines (22 loc) · 885 Bytes
/
Notification.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/*=========================================================================
MIDAS Server
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
69328 Lyon, FRANCE.
See Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
require_once BASE_PATH . '/modules/api/library/APIEnabledNotification.php';
class Openscience_Notification extends ApiEnabled_Notification
{
public $moduleName = 'openscience';
public $_moduleComponents=array('Api');
public $_models=array();
/** init notification process*/
public function init()
{
$this->enableWebAPI($this->moduleName);
}//end init
} //end class