From f0eb1423ee25bcc45a0c31fd5531ef70481d52a2 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 13 Aug 2020 09:39:19 +0200 Subject: [PATCH] update documentation, remove external IntelliSenseHelper --- IntelliSenseHelper.php | 23 ------------------- .../d3_overview_controller_pdfdocuments.php | 8 +++++++ README.en.md | 8 ++++--- README.de.md => README.md | 8 ++++--- .../010_Systemanforderungen.md | 1 - metadata.php | 4 ++-- 6 files changed, 20 insertions(+), 32 deletions(-) delete mode 100644 IntelliSenseHelper.php rename README.de.md => README.md (78%) diff --git a/IntelliSenseHelper.php b/IntelliSenseHelper.php deleted file mode 100644 index e1ecebb..0000000 --- a/IntelliSenseHelper.php +++ /dev/null @@ -1,23 +0,0 @@ - - * @link http://www.oxidmodule.com - */ - -namespace D3\PdfDocuments\Modules\Application\Controller { - - use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview; - - class d3_overview_controller_pdfdocuments_parent extends OrderOverview {} -} - -namespace D3\PdfDocuments\Modules\Application\Model -{ - use OxidEsales\Eshop\Application\Model\Order; - - class d3_Order_PdfDocuments_parent extends Order {} -} \ No newline at end of file diff --git a/Modules/Application/Controller/d3_overview_controller_pdfdocuments.php b/Modules/Application/Controller/d3_overview_controller_pdfdocuments.php index 46b2435..fb1e836 100644 --- a/Modules/Application/Controller/d3_overview_controller_pdfdocuments.php +++ b/Modules/Application/Controller/d3_overview_controller_pdfdocuments.php @@ -16,12 +16,20 @@ use D3\PdfDocuments\Application\Model\Exceptions\noPdfHandlerFoundException; use D3\PdfDocuments\Application\Model\Exceptions\pdfGeneratorExceptionAbstract; use D3\PdfDocuments\Application\Model\Registries\registryOrderoverview; use D3\PdfDocuments\Modules\Application\Model\d3_Order_PdfDocuments; +use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview; use OxidEsales\Eshop\Application\Model\Order; use OxidEsales\Eshop\Core\DatabaseProvider; use OxidEsales\Eshop\Core\Exception\DatabaseConnectionException; use OxidEsales\Eshop\Core\Registry; use OxidEsales\Eshop\Core\TableViewNameGenerator; +if (false) { + class_alias( + d3_overview_controller_pdfdocuments_parent::class, + OrderOverview::class + ); +} + class d3_overview_controller_pdfdocuments extends d3_overview_controller_pdfdocuments_parent { /** diff --git a/README.en.md b/README.en.md index 0dba9e2..46c36de 100644 --- a/README.en.md +++ b/README.en.md @@ -1,4 +1,6 @@ -# PDF Documents +> [german version](README.md) + +# PDF Documents PDF document generator for OXID eShop @@ -10,7 +12,7 @@ The module can be easily extended to adapt existing documents or add new ones. E ## System requirements: -- installed OXID eShop version 6 +- installed OXID eShop version from 6.1 - PHP version for which installation packages are available (PHP 7) - Installation via Composer @@ -18,7 +20,7 @@ The module can be easily extended to adapt existing documents or add new ones. E The module contains the same functionality as the 'OXID Invoice PDF' module. Basically, both modules can be installed in parallel in the shop, if required. -If the 'OXID Invoice PDF' module has to be completely replaced by the 'PDF Documents' module (e.g. because third modules also use its function), we set up a ... which will be installed additionally. +If the `OXID Invoice PDF` module is to be completely replaced by the `D3 PDF Documents` module (e.g. because third modules also use its function), we provide [a customization](https://packagist.org/packages/d3/pdfdocuments_compat) which is installed additionally. ## Installation: diff --git a/README.de.md b/README.md similarity index 78% rename from README.de.md rename to README.md index 49edf70..80a6ce0 100644 --- a/README.de.md +++ b/README.md @@ -1,3 +1,5 @@ +> [english version](README.en.md) + # PDF-Dokumente PDF-Dokumentgenerator für OXID eShop @@ -10,7 +12,7 @@ Das Modul kann einfach erweitert werden, um bestehende Dokumente anzupassen oder ## Systemanforderungen: -- installierter OXID eShop in Version 6 +- installierter OXID eShop in Version ab 6.1 - PHP-Version, für die Installationspakete verfügbar sind (PHP 7) - Installation via Composer @@ -18,7 +20,7 @@ Das Modul kann einfach erweitert werden, um bestehende Dokumente anzupassen oder Das Modul enthält die selbe Funktionalität wie das `OXID Invoice-PDF`-Modul. Grundsätzlich können beide Module parallel im Shop installiert werden, wenn dies erforderlich ist. -Soll das `OXID Invoice-PDF`-Modul komplett vom `PDF Dokumente` Modul ersetzt werden (weil z.B. dritte Module ebenfalls dessen Funktion verwenden), stellen wir unter ... eine Anpassung zur Verfügung, die zusätzlich installiert wird. +Soll das `OXID Invoice-PDF`-Modul komplett vom `PDF Dokumente` Modul ersetzt werden (weil z.B. dritte Module ebenfalls dessen Funktion verwenden), stellen wir [eine Anpassung](https://packagist.org/packages/d3/pdfdocuments_compat) zur Verfügung, die zusätzlich installiert wird. ## Installation: @@ -40,6 +42,6 @@ Eine detaillierte Installationsanleitung finden Sie [online](https://docs.oxidmo ## Lizenz -**de:** Dieses Modul wird unter der GPL v3 Lizenz vertrieben. Für weitere Informationen siehe die ./LICENSE Datei. +Dieses Modul wird unter der GPL v3 Lizenz vertrieben. Für weitere Informationen siehe die ./LICENSE Datei. Copyright by D3 Data Development (Inh. Thomas Dartsch) \ No newline at end of file diff --git a/docs/daux/installation/010_Anforderungen/010_Systemanforderungen.md b/docs/daux/installation/010_Anforderungen/010_Systemanforderungen.md index 1c9b604..c95646c 100644 --- a/docs/daux/installation/010_Anforderungen/010_Systemanforderungen.md +++ b/docs/daux/installation/010_Anforderungen/010_Systemanforderungen.md @@ -6,7 +6,6 @@ title: Systemanforderungen * 7.0.x bis 7.4.x * Shopversionen / -editionen * OXID eShop Community Edition (CE), Professional Edition (PE) oder Enterprise Edition (EE) in Compilation Version - * 6.0.x * 6.1.x * 6.2.x * Themes diff --git a/metadata.php b/metadata.php index b31c623..783898f 100644 --- a/metadata.php +++ b/metadata.php @@ -14,7 +14,7 @@ use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview; /** * Metadata version */ -$sMetadataVersion = '2.0'; +$sMetadataVersion = '2.1'; $logo = '(D3)'; @@ -28,7 +28,7 @@ $aModule = [ 'de' => $logo.' PDF-Dokumente', 'en' => $logo.' PDF documents', ], - 'version' => '0.1', + 'version' => '1.0', 'author' => 'D³ Data Development (Inh.: Thomas Dartsch)', 'email' => 'support@shopmodule.com', 'url' => 'http://www.oxidmodule.com/',