1
|
|
|
<?PHP |
2
|
|
|
/** |
3
|
|
|
* |
4
|
|
|
* @package Advanced OpenPortal |
5
|
|
|
* @copyright SalesAgility Ltd http://www.salesagility.com |
6
|
|
|
* |
7
|
|
|
* This program is free software; you can redistribute it and/or modify |
8
|
|
|
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by |
9
|
|
|
* the Free Software Foundation; either version 3 of the License, or |
10
|
|
|
* (at your option) any later version. |
11
|
|
|
* |
12
|
|
|
* This program is distributed in the hope that it will be useful, |
13
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
14
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15
|
|
|
* GNU General Public License for more details. |
16
|
|
|
* |
17
|
|
|
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
18
|
|
|
* along with this program; if not, see http://www.gnu.org/licenses |
19
|
|
|
* or write to the Free Software Foundation,Inc., 51 Franklin Street, |
20
|
|
|
* Fifth Floor, Boston, MA 02110-1301 USA |
21
|
|
|
* |
22
|
|
|
* @author Salesagility Ltd <[email protected]> |
23
|
|
|
*/ |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* THIS CLASS IS FOR DEVELOPERS TO MAKE CUSTOMIZATIONS IN |
27
|
|
|
*/ |
28
|
1 |
|
require_once('modules/AOP_Case_Events/AOP_Case_Events_sugar.php'); |
29
|
|
|
class AOP_Case_Events extends AOP_Case_Events_sugar { |
30
|
|
|
|
31
|
7 |
|
public function __construct(){ |
32
|
7 |
|
parent::__construct(); |
33
|
7 |
|
} |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @deprecated deprecated since version 7.6, PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code, use __construct instead |
37
|
|
|
*/ |
38
|
|
|
public function AOP_Case_Events(){ |
39
|
|
|
$deprecatedMessage = 'PHP4 Style Constructors are deprecated and will be remove in 7.8, please update your code'; |
40
|
|
|
if(isset($GLOBALS['log'])) { |
41
|
|
|
$GLOBALS['log']->deprecated($deprecatedMessage); |
42
|
|
|
} |
43
|
|
|
else { |
44
|
|
|
trigger_error($deprecatedMessage, E_USER_DEPRECATED); |
45
|
|
|
} |
46
|
|
|
self::__construct(); |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
|
50
|
|
|
} |
51
|
|
|
?> |