-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New metadata management and translator fixes
- Loading branch information
1 parent
6ec5b9c
commit 15def44
Showing
151 changed files
with
3,487 additions
and
3,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,51 @@ | ||
<?php | ||
|
||
/** | ||
* \details © 2019 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 <[email protected]> | ||
* @version $Revision$ | ||
*/ | ||
|
||
use Ximdex\Modules\Module; | ||
|
||
\Ximdex\Modules\Manager::file('/src/SolrExporter.php', 'XSearch'); | ||
Ximdex\Modules\Manager::file('/src/SolrExporter.php', 'XSearch'); | ||
|
||
/** | ||
* Class Module_XSearch | ||
*/ | ||
class Module_XSearch extends Module | ||
{ | ||
|
||
|
||
//Class constructor | ||
public function __construct() | ||
{ | ||
// Call Module constructor. | ||
// Call Module constructor | ||
parent::__construct("XSearch", dirname(__FILE__)); | ||
} | ||
|
||
/** | ||
* Load SQL constructor | ||
* | ||
* @return bool | ||
*/ | ||
function install() | ||
public function install() | ||
{ | ||
$this->loadConstructorSQL("XSearch.constructor.sql"); | ||
return parent::install(); | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
function uninstall() | ||
public function uninstall() | ||
{ | ||
$this->loadDestructorSQL("XSearch.destructor.sql"); | ||
parent::uninstall(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,34 @@ | ||
<?php | ||
|
||
use Ximdex\Modules\Module; | ||
|
||
/** | ||
* Class Module_xBlog | ||
* \details © 2019 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 <[email protected]> | ||
* @version $Revision$ | ||
*/ | ||
class Module_xBlog extends Module | ||
{ | ||
|
||
use Ximdex\Modules\Module; | ||
|
||
//Class constructor | ||
class Module_xBlog extends Module | ||
{ | ||
public function __construct() | ||
{ | ||
// Call Module constructor. | ||
|
@@ -27,12 +46,9 @@ function install() | |
return parent::install(); | ||
} | ||
|
||
/** | ||
* | ||
*/ | ||
function uninstall() | ||
{ | ||
$this->loadDestructorSQL("xBlog.destructor.sql"); | ||
parent::uninstall(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.