Compare commits
No commits in common. "master" and "dev-contao3" have entirely different histories.
master
...
dev-contao
@ -1,9 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name":"cgo-it/contao-xls_export-bundle",
|
"name":"cgo-it/xls_export",
|
||||||
"description":"xls_export extension for the Contao Open Source CMS as contao 4 bundle",
|
"description":"xls_export extension for the Contao Open Source CMS",
|
||||||
"keywords":["contao", "excel", "bundle"],
|
"keywords":["contao", "excel"],
|
||||||
"type":"contao-bundle",
|
"type":"contao-module",
|
||||||
"homepage":"https://cgo-it.de",
|
|
||||||
"license":"GPL-3.0-or-later",
|
"license":"GPL-3.0-or-later",
|
||||||
"authors":[
|
"authors":[
|
||||||
{
|
{
|
||||||
@ -14,26 +13,26 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/cgoIT/contao-xls-export-bundle/issues",
|
"email": "info@cgo-it.de",
|
||||||
"source": "https://github.com/cgoIT/contao-xls-export-bundle.git"
|
"issues": "https://bitbucket.org/cgo-it/contao-xls_export/issues?status=new&status=open",
|
||||||
|
"source": "https://bitbucket.org/cgo-it/contao-xls_export/src"
|
||||||
},
|
},
|
||||||
"require":{
|
"require":{
|
||||||
"php":">=7.0",
|
"php":">=5.3",
|
||||||
"contao/core-bundle": "^4.4"
|
"contao/core":">=3.0",
|
||||||
|
"contao-community-alliance/composer-plugin": "~2.0"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"cgo-it/xls_export": "self.version"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"contao/core": "*",
|
"contao/core": "2.11.*"
|
||||||
"contao/manager-plugin": "<2.0 || >=3.0"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"extra":{
|
||||||
"psr-4": {
|
"contao": {
|
||||||
"cgoIT\\xlsexport\\": "src/"
|
"sources":{
|
||||||
},
|
"":"system/modules/xls_export"
|
||||||
"classmap": [
|
}
|
||||||
"src/Resources/contao/"
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
"extra": {
|
|
||||||
"contao-manager-plugin": "cgoIT\\xlsexport\\ContaoManagerPlugin"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
7
config/autoload.ini
Normal file
7
config/autoload.ini
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
;;
|
||||||
|
; Configure what you want the autoload creator to register
|
||||||
|
;;
|
||||||
|
register_namespaces = true
|
||||||
|
register_classes = true
|
||||||
|
register_templates = true
|
28
config/autoload.php
Normal file
28
config/autoload.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contao Open Source CMS
|
||||||
|
*
|
||||||
|
* Copyright (C) 2005-2012 Leo Feyer
|
||||||
|
*
|
||||||
|
* @package xls_export
|
||||||
|
* @link http://contao.org
|
||||||
|
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the classes
|
||||||
|
*/
|
||||||
|
ClassLoader::addClasses(array
|
||||||
|
(
|
||||||
|
// Classes
|
||||||
|
'xls_bof' => 'system/modules/xls_export/vendor/biff.php',
|
||||||
|
'fat_class' => 'system/modules/xls_export/vendor/fat.php',
|
||||||
|
'xls_font' => 'system/modules/xls_export/vendor/font.php',
|
||||||
|
'xls_mergedcells' => 'system/modules/xls_export/vendor/mergedcells.php',
|
||||||
|
'xls_palette' => 'system/modules/xls_export/vendor/palette.php',
|
||||||
|
'xls_picture' => 'system/modules/xls_export/vendor/picture.php',
|
||||||
|
'xls_xf' => 'system/modules/xls_export/vendor/xf.php',
|
||||||
|
'xlsexport' => 'system/modules/xls_export/vendor/xls_export.php',
|
||||||
|
));
|
@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace cgoIT\xlsexport;
|
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configures the Contao aeo bundle.
|
|
||||||
*
|
|
||||||
* @author Carsten Götzinger
|
|
||||||
*/
|
|
||||||
class CgoITXlsexportBundle extends Bundle
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace cgoIT\xlsexport;
|
|
||||||
|
|
||||||
use Contao\CoreBundle\ContaoCoreBundle;
|
|
||||||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
|
||||||
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
|
||||||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Plugin for the Contao Manager.
|
|
||||||
*
|
|
||||||
* @author Carsten Götzinger
|
|
||||||
*/
|
|
||||||
class ContaoManagerPlugin implements BundlePluginInterface
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
public function getBundles(ParserInterface $parser)
|
|
||||||
{
|
|
||||||
return [
|
|
||||||
BundleConfig::create(CgoITXlsexportBundle::class)
|
|
||||||
->setLoadAfter([ContaoCoreBundle::class])
|
|
||||||
->setReplace(['xls_export']),
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user