Compare commits
6 Commits
dev-contao
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
98d0952bd4 | ||
a5ed9f3751 | |||
f6e5678ed3 | |||
0129999dd0 | |||
849e933e44 | |||
f111ddcf2b |
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name":"cgo-it/xls_export",
|
"name":"cgo-it/contao-xls_export-bundle",
|
||||||
"description":"xls_export extension for the Contao Open Source CMS",
|
"description":"xls_export extension for the Contao Open Source CMS as contao 4 bundle",
|
||||||
"keywords":["contao", "excel"],
|
"keywords":["contao", "excel", "bundle"],
|
||||||
"type":"contao-module",
|
"type":"contao-bundle",
|
||||||
|
"homepage":"https://cgo-it.de",
|
||||||
"license":"GPL-3.0-or-later",
|
"license":"GPL-3.0-or-later",
|
||||||
"authors":[
|
"authors":[
|
||||||
{
|
{
|
||||||
@ -13,26 +14,26 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"email": "info@cgo-it.de",
|
"issues": "https://github.com/cgoIT/contao-xls-export-bundle/issues",
|
||||||
"issues": "https://bitbucket.org/cgo-it/contao-xls_export/issues?status=new&status=open",
|
"source": "https://github.com/cgoIT/contao-xls-export-bundle.git"
|
||||||
"source": "https://bitbucket.org/cgo-it/contao-xls_export/src"
|
|
||||||
},
|
},
|
||||||
"require":{
|
"require":{
|
||||||
"php":">=5.3",
|
"php":">=7.0",
|
||||||
"contao/core":">=3.0",
|
"contao/core-bundle": "^4.4"
|
||||||
"contao-community-alliance/composer-plugin": "~2.0"
|
|
||||||
},
|
|
||||||
"replace": {
|
|
||||||
"cgo-it/xls_export": "self.version"
|
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"contao/core": "2.11.*"
|
"contao/core": "*",
|
||||||
|
"contao/manager-plugin": "<2.0 || >=3.0"
|
||||||
},
|
},
|
||||||
"extra":{
|
"autoload": {
|
||||||
"contao": {
|
"psr-4": {
|
||||||
"sources":{
|
"cgoIT\\xlsexport\\": "src/"
|
||||||
"":"system/modules/xls_export"
|
},
|
||||||
}
|
"classmap": [
|
||||||
}
|
"src/Resources/contao/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"contao-manager-plugin": "cgoIT\\xlsexport\\ContaoManagerPlugin"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,7 +0,0 @@
|
|||||||
|
|
||||||
;;
|
|
||||||
; Configure what you want the autoload creator to register
|
|
||||||
;;
|
|
||||||
register_namespaces = true
|
|
||||||
register_classes = true
|
|
||||||
register_templates = true
|
|
@ -1,28 +0,0 @@
|
|||||||
<?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',
|
|
||||||
));
|
|
14
src/CgoITXlsexportBundle.php
Normal file
14
src/CgoITXlsexportBundle.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace cgoIT\xlsexport;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Configures the Contao aeo bundle.
|
||||||
|
*
|
||||||
|
* @author Carsten Götzinger
|
||||||
|
*/
|
||||||
|
class CgoITXlsexportBundle extends Bundle
|
||||||
|
{
|
||||||
|
}
|
28
src/ContaoManagerPlugin.php
Normal file
28
src/ContaoManagerPlugin.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?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