This repository was archived by the owner on Dec 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathModule_xlyre.class.php
More file actions
48 lines (42 loc) · 1.52 KB
/
Copy pathModule_xlyre.class.php
File metadata and controls
48 lines (42 loc) · 1.52 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* \details © 2011 Open Ximdex Evolution SL [http://www.ximdex.org]
*
* Ximdex a Semantic Content Management System (CMS)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* See the Affero GNU General Public License for more details.
* You should have received a copy of the Affero GNU General Public License
* version 3 along with Ximdex (see LICENSE file).
*
* If not, visit http://gnu.org/licenses/agpl-3.0.html.
*
* @author Ximdex DevTeam <dev@ximdex.com>
* @version $Revision$
*/
use Ximdex\Modules\Module;
class Module_xlyre extends Module {
function Module_xlyre() {
parent::__construct('xlyre', dirname(__FILE__));
}
//Function which installs the module
function install() {
echo "\nModule xlyre will be installed.\n";
$this->loadConstructorSQL("xlyre.constructor.sql");
return parent::install();
}
function uninstall() {
echo "\nModule xlyre will be uninstalled!.\n";
$this->loadDestructorSQL("xlyre.destructor.sql");
parent::uninstall();
}
}