add 5.1.0.0 Source Guardian PHP 8

This commit is contained in:
Daniel Seifert 2022-09-01 14:18:27 +02:00
parent 4f4fd96c3c
commit 4b3e131daa
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
340 changed files with 3409 additions and 4003 deletions

2
.php-cs-fixer.php Normal file
View File

@ -0,0 +1,2 @@
<?php ?><?php /** This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Auftragsmanager @version 5.1.0.0 SourceGuardian (01.09.2022) @author Daniel Seifert support@shopmodule.com @copyright (C) 2022, D3 Data Development @see https://www.d3data.de */ ?><?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('7A3737B3BF126D47AAQAAAAXAAAABHAAAACABAAAAAAAAAD/Zmm9wELvp4LwCXAiMO1ZGnAt1bwuWSg8JPYHCfVAAZYx0gYX2xIbe5j6Zf92CqMy1U/DQq439NumbxpXxF18jQqXWecGw8Va9ly+WbdLfUnSP0n+q1vZ7N20DVcIG5PcrDmbNzOdBx02Mg+C8GRP1QgAAAD4AQAACzFZFq/nj3SAVtCwPZQ1pYn70/SDCWZ4R27ERe2JkGYUPdTr4ZK4c0AIxnwzQeOXLOF1gxAEKgpro4SHtRONBT73RxkF5UBj38X9LfzWQu7GpUduxBhtMFQh29lPWCt5ts2lLC3aEUsTHeNzIh1oJE04gS/pKDtcLgvxokmM7hrcWTG3AZMVphunhJrRFGUZqgQkYhX9zALZqKa1/HGsyKz3yDPOxK5mkTxz8lmxrhonvAUgolwbbHBhidJdLh4HX/Q+RUPSYtfM3+8FgNyo8mJ9OfDnclV6SViE+F+eqotWmXZwib1DFwE/0Pcvv4rH3QVp4393nUcKkSsoe35t2nh/Kq5QdOrP9bc4kzB2l0bX1POb1ev/P2Q4ldJNSI/P1yk+POnDDXLAz5JJXeOV97arvgBxzs0RjxtpAhWEtJ/kqOrxHa0Rlk4K03hk1bNolVoD+inVk4LX2DHdBRyVPt4/GurATQXDJZeS5GBlUri8VP2oHeQOkEK01dBEnjWh71xOUV/X1a7mgbCoeHsm1zxXMzPSIp4oIrcyswW49wMEgiFZfsu4XGtrZr/InAg7XZVtNpTyL+nB9F5l1BVTRy8pAMgp4wB6J8ofONlJgm5HZrLntZbEzc7FhM/77dotdDEis6YVkPLuTqFXqmOKyk9Yi2aaajdOUQAAAPgBAACeWKWR55qfliYytlmiww78jqPN6javKyacvT6Fo/8KAO8vzGrx5uIWSxIjyXaehQxfidIaXzaGuMfpaVf3ggImu0JFeaxOiij56YOTfz+FXOyw1netLHz5toBvCe/ZrridL/zMqkwoQVSCY+niVZg1Zeylt+wbo4v0koqlS9JumWK1oZ5VV58Cq6azih7ot0F1BLXTkB/M72kxiIvBkKfELA+xYvw7qWqDbBpf7y9HV+lZEil0XCbywgn28/6Gmtu+V4Hk0RHRnMl4yjhfiG26HBgu1/pKQWz/frZsD/ikIuM2z4tjbtYm7sZEqSLsMIAzkJNyYRI2r/XpYPAfz9G3hUDxTpP3dmtxw6uwnh4rcLWb/FQ9u4F+e0CklwhJ4rT6d1A7Ux+G9jueQU1sVLUBGkvDW0wf4LhgYxgQckcsqIZXcRN16ezBEgl3ummhXPZ7Wt6pKVWyp+Tx5ZQ7qyQWx5mx2L3AUN9hD3VgWYeWjhQNzdxA5yefyDOyRNFz9hkWeeq6QWzuoheYW57yMsvjR3dgsNpWwn+XODx3gX7meOP3CGpcykVpUUl5GgsNHiW//EcB5GWGQ7QlsZerFFD51Wc/8UrpIdsB4saAPP7YOYMrcQgFqctX39FLMY5H8ffrRypRq5rvSqAucLDVCglSej6mYSOOWYUAAAAA');

View File

@ -7,6 +7,9 @@ Have recurring tasks performed automatically according to freely definable rules
Please refer to the documentation [online](https://docs.oxidmodule.com/Auftragsmanager/) and the docs directory of this package for the requirements of this plugin, installation and configuration instructions, changelog and further informations.
## Changelog
See [CHANGELOG](docs/daux/changelog/010_Changelog.md) for further informations.
## License
(status: 2012-01-15)

View File

@ -7,6 +7,9 @@ Lassen Sie wiederkehrende Aufgaben automatisch nach frei definierbaren Regeln au
Die Anforderungen des Moduls, Installations- und Konfigurationshinweise, Changelog und weitere Informationen entnehmen Sie bitte der Dokumentation [online](https://docs.oxidmodule.com/Auftragsmanager/) und im docs-Verzeichnis dieses Paketes.
## Changelog
Siehe [CHANGELOG](docs/daux/changelog/010_Changelog.md) für weitere Informationen.
## Lizenz
(Stand: 15.01.2012)

View File

@ -35,18 +35,22 @@
"php": "^8.0",
"ext-sourceguardian": "*",
"ext-pdo": "*",
"oxid-esales/oxideshop-ce": "6.8 - 6.10",
"d3/modcfg": "^6.0.0.000",
"oxid-esales/oxideshop-ce": "6.8 - 6.12",
"d3/modcfg": "^6.1.0.000",
"league/flysystem": "^1.0",
"splitbrain/php-cli": "^1.1",
"html2text/html2text": "^4.2",
"d3/oxid-sql-logger": "^1.2.2",
"d3/oxidservicebridges": "^1.0.0",
"d3/oxidservicebridges": "^1.1.0",
"ext-mbstring": "*"
},
"require-dev": {
"mikey179/vfsstream": "^1.4",
"donatj/mock-webserver": "^2.1"
"donatj/mock-webserver": "^2.1",
"php": "^8.0",
"ext-sourceguardian": "*",
"friendsofphp/php-cs-fixer": "^3.9",
"phpstan/phpstan": "^1.8"
},
"suggest": {
"d3/pdfdocuments": "enables the automatic generation, dispatch and storage of highly customizable PDF documents",

View File

@ -7,12 +7,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased](https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.1...rel_5.x)
## [Unreleased](https://git.d3data.de/D3Private/Ordermanager/compare/5.1.0.0...rel_5.x)
## [5.1.0.0](https://git.d3data.de/D3Private/Ordermanager/compare/5.0.4.0...5.1.0.0) - 2022-09-01
### Added
- installable in OXID 6.5 (CE 6.12) and PHP 8.1
### Changed
- adjust DI container to updated container dependency
- adjust tests
### Fixed
- prevent "undefined array key" warning
## [5.0.4.0](https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.1...5.0.4.0) - 2022-08-15
### Changed
- extract message content creator from mail class
## [5.0.3.1](https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.0...5.0.3.1) - 2022-07-28
### Changed
- make mySQL content check more compatible
- adjust documention to Source Guardian Loader based installation
- adjust documentation to Source Guardian Loader based installation
- changelog improved
### Fixed
@ -109,7 +124,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- nicht generierbare Statusmails korrigiert
- Debugmodus verwendet SQL-Logger für optimierte Anzeige
- nicht geladenes Manager-Objekt im Admincontroller korrigiert
- "Einträge als erledigt markieren" ignoriert "Einträge nich als erledigt markieren"-Option
- "Einträge als erledigt markieren" ignoriert "Einträge nicht als erledigt markieren"-Option
## [4.1.1.0](https://git.d3data.de/D3Private/Ordermanager/compare/4.1.0.0...4.1.1.0) - 2020-12-21

View File

@ -1,9 +1,9 @@
{
"title": "<i class='fab fa-d3 d3fa-color-blue'></i> Auftragsmanager",
"moduleversion": "5.0.3.1",
"moduleversion": "5.1.0.0",
"titledesc": "für den Oxid eShop",
"author": "D³ Data Development",
"moduledate": "28.07.2022",
"moduledate": "01.09.2022",
"editors": "",
"tagline": "",
"image": "",

View File

@ -6,6 +6,7 @@ title: Systemanforderungen
* 7.3.x
* 7.4.x
* 8.0.x
* 8.1.x
* PHP Decoder
* installierter ionCube Loader (PHP bis 7.4) *oder*
* installierter SourceGuardian Loader (PHP ab 8.0)
@ -18,12 +19,13 @@ title: Systemanforderungen
* OXID eShop in Compilation Version
* 6.3.x
* 6.4.x
* 6.5.x
* Themes
* Das Modul benötigt keine Einbindung ins Frontend und ist damit von diesen Themes unabhängig.
* (D3) Modul-Connector ([kostenfrei bei D3 erhältlich](https://www.oxidmodule.com/connector/)) ab Version 6.0.0.0
* (D3) Modul-Connector ([kostenfrei bei D3 erhältlich](https://www.oxidmodule.com/connector/)) ab Version 6.1.0.0
* Installation via [Composer](https://getcomposer.org)
* mindestens ein freier Cronjob zur automatischen Ausführung angelegter Aufgaben (optional)
Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder (**ionCube Loader**) kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version.
Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version.
Kontrollieren Sie bitte auch, ob diese Modulversion für die von Ihnen eingesetzte Shopedition (Community Edition (CE), Professional Edition (PE) oder Enterprise Edition (EE)) ausgelegt ist.
Kontrollieren Sie bitte auch, ob diese Modulversion für die von Ihnen eingesetzte Shopedition ausgelegt ist.

View File

@ -72,27 +72,46 @@
<div class="Page__header">
<h1><a href="../changelog/Changelog.html">Changelog</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/" class="Link--external">Keep a Changelog</a>,
and this project adheres to <a href="https://semver.org/spec/v2.0.0.html" class="Link--external">Semantic Versioning</a>.</p>
<h2 id="page_Unreleased"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.1...rel_5.x" class="Link--external">Unreleased</a></h2>
<h2 id="page_5-0-3-1-2022-07-28"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.0...5.0.3.1" class="Link--external">5.0.3.1</a> - 2022-07-28</h2>
<h2 id="page_Unreleased"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.1.0.0...rel_5.x" class="Link--external">Unreleased</a></h2>
<h2 id="page_5-1-0-0-2022-09-01"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.4.0...5.1.0.0" class="Link--external">5.1.0.0</a> - 2022-09-01</h2>
<h3 id="page_Added">Added</h3>
<ul>
<li>installable in OXID 6.5 (CE 6.12) and PHP 8.1</li>
</ul>
<h3 id="page_Changed">Changed</h3>
<ul>
<li>make mySQL content check more compatible</li>
<li>adjust documention to Source Guardian Loader based installation</li>
<li>changelog improved</li>
<li>adjust DI container to updated container dependency</li>
<li>adjust tests</li>
</ul>
<h3 id="page_Fixed">Fixed</h3>
<ul>
<li>prevent &quot;undefined array key&quot; warning</li>
</ul>
<h2 id="page_5-0-4-0-2022-08-15"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.1...5.0.4.0" class="Link--external">5.0.4.0</a> - 2022-08-15</h2>
<h3 id="page_Changed-2">Changed</h3>
<ul>
<li>extract message content creator from mail class</li>
</ul>
<h2 id="page_5-0-3-1-2022-07-28"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.3.0...5.0.3.1" class="Link--external">5.0.3.1</a> - 2022-07-28</h2>
<h3 id="page_Changed-2">Changed</h3>
<ul>
<li>make mySQL content check more compatible</li>
<li>adjust documentation to Source Guardian Loader based installation</li>
<li>changelog improved</li>
</ul>
<h3 id="page_Fixed-2">Fixed</h3>
<ul>
<li>timespan requirement option in admin panel does not represent the saved type</li>
</ul>
<h2 id="page_5-0-3-0-2021-12-17"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/5.0.2.0...5.0.3.0" class="Link--external">5.0.3.0</a> - 2021-12-17</h2>
<h3 id="page_Added">Added</h3>
<h3 id="page_Added-2">Added</h3>
<ul>
<li>installierbar in OXID 6.4.0</li>
</ul>
@ -198,7 +217,7 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html" class=
<li>nicht generierbare Statusmails korrigiert</li>
<li>Debugmodus verwendet SQL-Logger für optimierte Anzeige</li>
<li>nicht geladenes Manager-Objekt im Admincontroller korrigiert</li>
<li>&quot;Einträge als erledigt markieren&quot; ignoriert &quot;Einträge nich als erledigt markieren&quot;-Option</li>
<li>&quot;Einträge als erledigt markieren&quot; ignoriert &quot;Einträge nicht als erledigt markieren&quot;-Option</li>
</ul>
<h2 id="page_4-1-1-0-2020-12-21"><a href="https://git.d3data.de/D3Private/Ordermanager/compare/4.1.0.0...4.1.1.0" class="Link--external">4.1.1.0</a> - 2020-12-21</h2>
<p>** Hinweis für kleinere Versions-Upgrades: Es gibt einige rückwärts-inkompatible Änderungen an dieser Version. **</p>

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../editions/Editionen.html">Editionen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -48,8 +48,8 @@
<div class="details">
<div>Autor: D³ Data Development</div> <div>Stand: 28.07.2022</div>
<div>Version: 5.0.3.1</div>
<div>Autor: D³ Data Development</div> <div>Stand: 01.09.2022</div>
<div>Version: 5.1.0.0</div>
</div>
</div>

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Kompatibilitaet_mit_anderen_Modulen.html">Kompatibilität mit anderen Modulen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Systemanforderungen.html">Systemanforderungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">
@ -82,6 +82,7 @@
<li>7.3.x</li>
<li>7.4.x</li>
<li>8.0.x</li>
<li>8.1.x</li>
</ul>
</li>
<li>PHP Decoder
@ -105,6 +106,7 @@
<ul>
<li>6.3.x</li>
<li>6.4.x</li>
<li>6.5.x</li>
</ul>
</li>
</ul>
@ -115,13 +117,13 @@
</ul>
</li>
<li>
<i class='fab fa-d3 d3fa-color-blue'></i> Modul-Connector (<a href="https://www.oxidmodule.com/connector/" class="Link--external">kostenfrei bei D3 erhältlich</a>) ab Version 6.0.0.0</li>
<i class='fab fa-d3 d3fa-color-blue'></i> Modul-Connector (<a href="https://www.oxidmodule.com/connector/" class="Link--external">kostenfrei bei D3 erhältlich</a>) ab Version 6.1.0.0</li>
<li>Installation via <a href="https://getcomposer.org" class="Link--external">Composer</a>
</li>
<li>mindestens ein freier Cronjob zur automatischen Ausführung angelegter Aufgaben (optional)</li>
</ul>
<p>Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder (<strong>ionCube Loader</strong>) kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version.</p>
<p>Kontrollieren Sie bitte auch, ob diese Modulversion für die von Ihnen eingesetzte Shopedition (Community Edition (CE), Professional Edition (PE) oder Enterprise Edition (EE)) ausgelegt ist.</p>
<p>Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version.</p>
<p>Kontrollieren Sie bitte auch, ob diese Modulversion für die von Ihnen eingesetzte Shopedition ausgelegt ist.</p>
</div>
<nav>

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Vorbereitungen.html">Vorbereitungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Dateien_loeschen.html">Dateien löschen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Datenbank_bereinigen.html">Datenbank bereinigen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_aus_der_Installation_entfernen.html">Modul aus der Installation entfernen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_deaktivieren.html">Modul deaktivieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Modulerweiterungen deaktivieren und entfernen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../installation/Installation.html">Installation / Update / Deinstallation</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../installation/Installationspruefung.html">Installationsprüfung</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Cronjob_einrichten.html">Cronjob einrichten</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Lizenz_eintragen.html">Lizenzschlüssel eintragen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,13 +72,13 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_hinzufuegen.html">Modul zur Installation hinzufügen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
<p>Führen Sie in der Konsole im Hauptverzeichnis Ihres Shops (oberhalb des <code>source</code>- und <code>vendor</code>-Verzeichnisses) diesen Befehl aus, um das Modul <strong><i class='fab fa-d3 d3fa-color-blue'></i> Auftragsmanager</strong> zur Installation hinzuzufügen:</p>
<pre><code class="language-bash">php composer require d3/ordermanager:^5.0.3.1 --update-no-dev
<pre><code class="language-bash">php composer require d3/ordermanager:^5.1.0.0 --update-no-dev
</code></pre>
<blockquote class="alert alert-warning">
<i class='fas fa-exclamation-triangle'></i> <p> Achten Sie darauf, dass Composer für die Installation die selbe PHP-Version verwendet, in der auch Ihr Shop ausgeführt wird. Sie erhalten sonst möglicherweise unpassende Modulpakete.</p>

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_im_Shop_aktivieren.html">Modul im Shop aktivieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Shopanpassungen_installieren.html">Shopanpassungen installieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Updatefaehigkeit.html">Updatefähigkeit</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Vorbereitung.html">Vorbereitungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,13 +72,13 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">
<h2 id="page_Schnellstart-per-Composer">Schnellstart per Composer</h2>
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
<pre><code class="language-bash">php composer require d3/ordermanager:^5.0.3.1 --update-no-dev
<pre><code class="language-bash">php composer require d3/ordermanager:^5.1.0.0 --update-no-dev
./vendor/bin/oe-console oe:module:activate d3ordermanager
./vendor/bin/d3modules_install
./vendor/bin/d3cleartmp

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../installation/Schnellstart.html">Schnellstart</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,14 +72,14 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Dateien_erneuern.html">Dateien erneuern</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
<p>Starten Sie die Konsole Ihres Webservers und wechseln in das Hauptverzeichnis Ihres
Shops (oberhalb des <code>source</code>- und <code>vendor</code>-Verzeichnisses). Führen Sie dort diesen Befehl aus:</p>
<pre><code class="language-bash">php composer require d3/ordermanager:^5.0.3.1 --update-no-dev
<pre><code class="language-bash">php composer require d3/ordermanager:^5.1.0.0 --update-no-dev
</code></pre>
<p>Im weiteren Ablauf werden Sie gefragt, ob die Moduldateien überschrieben werden sollen. Bestätigen Sie dies für den Eintrag <code>d3/ordermanager</code>.</p>
<blockquote class="alert alert-warning">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Erweiterungen_anpassen.html">Erweiterungen anpassen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Lizenzschluessel_aktualisieren.html">Lizenzschlüssel aktualisieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Modul_deaktivieren.html">Modul deaktivieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Modulinformationen_aktualisieren.html">Modulinformationen aktualisieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Shopanpassungen_installieren.html">Shopanpassungen installieren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Updatedefinition.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Updatedefinition.html">Wann kann ein Update ausgeführt werden?</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Anzeige_der_gefundenen_Bestellungen_als_Liste.html">Anzeige der gefundenen Bestellungen als Liste</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Aktionen.html">Aktionen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Ausloeser.html">Auslöser</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Bedingungen.html">Bedingungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Mall.html">Mall</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Stamm.html">Stamm</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Aufgaben/Uebersicht.html">Übersicht</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Aufgaben/index.html">Aufgaben</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Aufgaben_automatisch_ausfuehren.html">Aufgaben automatisch ausführen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Aufgaben_fuer_alle_relevanten_Bestellungen_manuell_ausfuehren.html">Aufgaben für alle relevanten Bestellungen manuell ausführen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Aufgaben_fuer_einzelne_Bestellung_manuell_ausfuehren.html">Aufgaben für einzelne Bestellung manuell ausführen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Cronjobs_fuer_unterschiedlich_zu_steuernde_Aufgaben.html">Cronjobs für unterschiedlich zu steuernde Aufgaben</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Einstellungen/Grundeinstellungen.html">Einstellungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Einstellungen/Aufgabeneinstellungen.html">Aufgabeneinstellungen -> Ordner</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Einstellungen/Grundeinstellungen.html">Einstellungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Einstellungen/Cronjobeinstellungen_fuer_Cronjob-ID.html">Cronjobeinstellungen für Cronjob-ID "X"</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Einstellungen/Grundeinstellungen.html">Einstellungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Einstellungen/Grundeinstellungen.html">Grundeinstellungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../manual/Einstellungen/Grundeinstellungen.html">Einstellungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../manual/Einstellungen/allgemeine_Cronjobeinstellungen.html">allgemeine Cronjobeinstellungen</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Handbuch.html">Handbuch</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Logging.html">Logging</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/Weiterentwicklung.html">Weiterentwicklung</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../manual/relevante_Bestellungen_einschraenken.html">Bestellungen mit globaler Einstellung einschränken</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../support/Hilfe-und-Support.html">Hilfe und Support</a></h1>
<span class="ModifiedDate">
28.07.2022 </span>
01.09.2022 </span>
</div>
<div class="s-content">

File diff suppressed because one or more lines are too long

16
phpstan.neon Normal file
View File

@ -0,0 +1,16 @@
parameters:
scanFiles:
- src/IntelliSenseHelper.php
- ../../oxid-esales/oxideshop-ce/source/oxfunctions.php
- ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php
scanDirectories:
- ../../oxid-projects/pdf-invoice-module/
paths:
- src
excludePaths:
- src/tests
level: 0
phpVersion: 70300
checkMissingIterableValueType: false
featureToggles:
disableRuntimeReflectionProvider: true

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -73,7 +73,7 @@ class d3_cfg_ordermanageritem_action extends d3_cfg_ordermanageritem_settings
}
// @codeCoverageIgnoreEnd
$aMissingRequiredValues = array();
$aMissingRequiredValues = [];
/** @var ActionModelInterface $oAction */
foreach ($this->getActionList() as $sId => $oAction) {
if ($this->getProfile()->getValue($oAction->getActiveSwitchParameter())) {
@ -148,7 +148,7 @@ class d3_cfg_ordermanageritem_action extends d3_cfg_ordermanageritem_settings
// load object in other languages
$oOtherLang = $oProfile->getAvailableInLangs();
if (false == isset($oOtherLang[$this->_iEditLang])) {
if (!isset($oOtherLang[$this->_iEditLang])) {
$oProfile->loadInLang(key($oOtherLang), $soxId);
}
}
@ -166,16 +166,16 @@ class d3_cfg_ordermanageritem_action extends d3_cfg_ordermanageritem_settings
$request = d3GetModCfgDIC()->get('d3ox.ordermanager.'.Request::class);
$soxId = $request->getRequestEscapedParameter("oxid");
if (isset( $soxId) && $soxId && $soxId != "-1") {
if (isset($soxId) && $soxId && $soxId != "-1") {
// load object
$oProfile->loadInLang($this->_iEditLang, $soxId);
$oProfile = $this->_d3LoadInOtherLang($oProfile, $soxId);
}
$aSearch = array(date('Y-m-d_H-i-s', $oProfile->getStartTime()));
$aSearch = [date('Y-m-d_H-i-s', $oProfile->getStartTime())];
/** @var Language $oLang */
$oLang = d3GetModCfgDIC()->get('d3ox.ordermanager.'.Language::class);
$aReplace = array($oLang->translateString('D3_ORDERMANAGER_ACTION_DATEPLACEHOLDER'));
$aReplace = [$oLang->translateString('D3_ORDERMANAGER_ACTION_DATEPLACEHOLDER')];
return str_replace($aSearch, $aReplace, $oProfile->getListExportFilePath());
}
@ -347,7 +347,7 @@ class d3_cfg_ordermanageritem_action extends d3_cfg_ordermanageritem_settings
{
// load object in other languages
$oOtherLang = $oProfile->getAvailableInLangs();
if (false == isset($oOtherLang[$this->_iEditLang])) {
if (!isset($oOtherLang[$this->_iEditLang])) {
$oProfile->loadInLang(key($oOtherLang), $soxId);
}

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -42,12 +42,12 @@ class d3_cfg_ordermanageritem_main extends d3_cfg_mod_main
protected $_sMenuSubItemTitle = 'd3mxordermanager_items';
protected $_sThisTemplate = "d3_cfg_ordermanageritem_main.tpl";
protected $_blUseOwnOxid = true;
protected $_aNaviItems = array(
'new' => array(
protected $_aNaviItems = [
'new' => [
'sScript' => 'top.oxid.admin.editThis( -1 );return false;',
'sTranslationId' => 'D3_TOOLTIPS_NEWORDERMANAGER',
),
);
],
];
protected $_sD3ObjectClass = Manager::class;
/**
@ -82,7 +82,7 @@ class d3_cfg_ordermanageritem_main extends d3_cfg_mod_main
*
* @return array
*/
public function addDefaultValues( $aParams ): array
public function addDefaultValues($aParams): array
{
$aParams = parent::addDefaultValues($aParams);
@ -112,9 +112,9 @@ class d3_cfg_ordermanageritem_main extends d3_cfg_mod_main
*/
public function fixCronjobId($sId)
{
$aSearch = array(
$aSearch = [
' ',
);
];
$sReplace = '_';
return str_replace($aSearch, $sReplace, $sId);

View File

@ -14,12 +14,13 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
use D3\ModCfg\Application\Model\d3filesystem;
use D3\ModCfg\Application\Model\d3str;
use D3\ModCfg\Application\Model\Exception\wrongModIdException;
use D3\Ordermanager\Application\Model\d3ordermanager as Manager;
use D3\ModCfg\Application\Model\Configuration\d3_cfg_mod;
use D3\Ordermanager\Application\Model\d3ordermanager_vars as VariablesTrait;
@ -49,7 +50,9 @@ if (false == class_exists("\OxidEsales\Eshop\Application\Controller\Admin\AdminM
}
}
} else {
class d3AdminMall extends AdminMall {}
class d3AdminMall extends AdminMall
{
}
}
// @codeCoverageIgnoreEnd
@ -69,12 +72,12 @@ class d3_cfg_ordermanageritem_mall extends d3AdminMall
protected $_sMenuItemTitle = 'd3mxordermanager';
protected $_sMenuSubItemTitle = 'd3tbclordermanager_items_mall';
protected $_sHelpLinkMLAdd;
protected $_aNaviItems = array(
'new' => array(
protected $_aNaviItems = [
'new' => [
'sScript' => 'top.oxid.admin.editThis( -1 );return false;',
'sTranslationId' => 'D3_TOOLTIPS_NEWORDERMANAGER',
),
);
],
];
/**
* Class name of object to load
*/
@ -85,7 +88,9 @@ class d3_cfg_ordermanageritem_mall extends d3AdminMall
*/
public function __construct()
{
d3GetModCfgDIC()->setParameter('d3.ordermanager.modcfgid', $this->_sModId);
if (d3GetModCfgDIC()->getParameter($this->_DIC_Instance_Id . 'modcfgid') !== $this->_sModId) {
throw oxNew(wrongModIdException::class, $this->_sModId);
}
parent::__construct();
}
@ -103,7 +108,7 @@ class d3_cfg_ordermanageritem_mall extends d3AdminMall
/**
* @return string
*/
public function render() : string
public function render(): string
{
$oProfile = $this->getProfile();
/** @var Request $request */

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -51,12 +51,12 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
protected $_sMenuItemTitle = 'd3mxordermanager';
protected $_sMenuSubItemTitle = 'd3mxordermanager_items';
protected $_blUseOwnOxid = true;
protected $_aNaviItems = array(
'new' => array(
protected $_aNaviItems = [
'new' => [
'sScript' => 'top.oxid.admin.editThis( -1 );return false;',
'sTranslationId' => 'D3_TOOLTIPS_NEWORDERMANAGER',
),
);
],
];
protected $_sD3ObjectClass = Manager::class;
protected $_sRequestData;
@ -76,13 +76,9 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
d3ordermanager_configurationcheck::class.'.args.ordermanager',
$this->getManager()
);
d3GetModCfgDIC()->setParameter(
d3ordermanager_configurationcheck::class.'.args.checktypes',
d3ordermanager_configurationcheck::REQUIREMENTS_AND_ACTIONS
);
/** @var d3ordermanager_configurationcheck $confCheck */
$confCheck = d3GetModCfgDIC()->get(d3ordermanager_configurationcheck::class);
$confCheck->checkThrowingExceptions();
$confCheck->checkThrowingExceptions(d3ordermanager_configurationcheck::REQUIREMENTS_AND_ACTIONS);
} catch (d3ActionRequirementInterface $e) {
/** @var UtilsView $utilsView */
$utilsView = d3GetModCfgDIC()->get('d3ox.ordermanager.'.UtilsView::class);
@ -121,16 +117,16 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
public function __call($method, $arguments)
{
$oActionView = $this->getActionAdminController();
if (method_exists( $oActionView, $method)) {
return call_user_func_array( array( $oActionView, $method), $arguments);
if (method_exists($oActionView, $method)) {
return call_user_func_array([ $oActionView, $method], $arguments);
}
$oRequView = $this->getRequirementAdminController();
if (method_exists( $oRequView, $method)) {
return call_user_func_array( array( $oRequView, $method), $arguments);
if (method_exists($oRequView, $method)) {
return call_user_func_array([ $oRequView, $method], $arguments);
}
return parent::__call( $method, $arguments);
return parent::__call($method, $arguments);
}
/**
@ -234,7 +230,7 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
if ($this->canRequestData(__FUNCTION__)) {
/** @var Manager $oProfile */
$oProfile = $this->getProfile();
return (int) $oProfile->getListGenerator()->getConcernedItemCount();
return $oProfile->getListGenerator()->getConcernedItemCount();
} elseif ($this->canUseRequestData($requestCount)) {
return (int) $requestCount;
}
@ -286,7 +282,7 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
if ($this->canRequestData(__FUNCTION__)) {
/** @var Manager $oProfile */
$oProfile = $this->getProfile();
return (int) $oProfile->getListGenerator()->getFinishedMonthItemCount();
return $oProfile->getListGenerator()->getFinishedMonthItemCount();
} elseif ($this->canUseRequestData($requestCount)) {
return (int) $requestCount;
}
@ -310,7 +306,7 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
if ($this->canRequestData(__FUNCTION__)) {
/** @var Manager $oProfile */
$oProfile = $this->getProfile();
return (int) $oProfile->getListGenerator()->getNotFinishedItemCount();
return $oProfile->getListGenerator()->getNotFinishedItemCount();
} elseif ($this->canUseRequestData($requestCount)) {
return (int) $requestCount;
}
@ -343,7 +339,7 @@ class d3_cfg_ordermanageritem_overview extends d3_cfg_mod_main
public function canUseRequestData($requestCount): bool
{
return $this->getDataOnDemand()
&& isset( $requestCount ) && false !== $requestCount;
&& isset($requestCount) && false !== $requestCount;
}
/**

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -37,7 +37,7 @@ class d3_cfg_ordermanageritem_requ extends d3_cfg_ordermanageritem_settings
use VariablesTrait;
protected $_sThisTemplate = "d3_cfg_ordermanageritem_requ.tpl";
protected $_aTransStatus = array('OK', 'ERROR', 'NOT_OK');
protected $_aTransStatus = ['OK', 'ERROR', 'NOT_OK'];
protected $_sMenuSubItemTitle = 'd3mxordermanager_items';
public function save()
@ -48,7 +48,7 @@ class d3_cfg_ordermanageritem_requ extends d3_cfg_ordermanageritem_settings
}
// @codeCoverageIgnoreEnd
$aMissingRequiredValues = array();
$aMissingRequiredValues = [];
/** @var RequirementModelInterface $oRequirement */
foreach ($this->getRequirementList() as $sId => $oRequirement) {
if ($this->getProfile()->getValue($oRequirement->getActiveSwitchParameter())) {

View File

@ -15,10 +15,11 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
use D3\ModCfg\Application\Model\Exception\wrongModIdException;
use D3\Ordermanager\Application\Model\d3ordermanager as Manager;
use D3\Ordermanager\Application\Model\d3ordermanager_vars as VariablesTrait;
use D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception;
@ -45,12 +46,12 @@ class d3_cfg_ordermanageritem_settings extends d3_cfg_mod_main
protected $_sModId = 'd3_ordermanager';
protected $_sMenuItemTitle = 'd3mxordermanager';
protected $_blUseOwnOxid = true;
protected $_aNaviItems = array(
'new' => array(
protected $_aNaviItems = [
'new' => [
'sScript' => 'top.oxid.admin.editThis( -1 );return false;',
'sTranslationId' => 'D3_TOOLTIPS_NEWORDERMANAGER',
),
);
],
];
protected $_sD3ObjectClass = Manager::class;
/**
@ -58,7 +59,9 @@ class d3_cfg_ordermanageritem_settings extends d3_cfg_mod_main
*/
public function __construct()
{
d3GetModCfgDIC()->setParameter($this->_DIC_Instance_Id.'modcfgid', $this->_sModId);
if (d3GetModCfgDIC()->getParameter($this->_DIC_Instance_Id . 'modcfgid') !== $this->_sModId) {
throw oxNew(wrongModIdException::class, $this->_sModId);
}
parent::__construct();
}

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -42,12 +42,12 @@ class d3_cfg_ordermanageritem_trigger extends d3_cfg_mod_main
protected $_sMenuSubItemTitle = 'd3mxordermanager_items';
protected $_sThisTemplate = "d3_cfg_ordermanageritem_trigger.tpl";
protected $_blUseOwnOxid = true;
protected $_aNaviItems = array(
'new' => array(
protected $_aNaviItems = [
'new' => [
'sScript' => 'top.oxid.admin.editThis( -1 );return false;',
'sTranslationId' => 'D3_TOOLTIPS_NEWORDERMANAGER',
),
);
],
];
protected $_sD3ObjectClass = Manager::class;
/**
@ -88,9 +88,9 @@ class d3_cfg_ordermanageritem_trigger extends d3_cfg_mod_main
*/
public function fixCronjobId($sId)
{
$aSearch = array(
$aSearch = [
' ',
);
];
$sReplace = '_';
return str_replace($aSearch, $sReplace, $sId);
@ -110,7 +110,7 @@ class d3_cfg_ordermanageritem_trigger extends d3_cfg_mod_main
return $this->d3GetSet()->isDemo() ||
in_array(
true,
array_map(array($this->d3GetSet(),'getLicenseConfigData'),array(ConfModel::SERIAL_BIT_STANDARD_EDITION))
array_map([$this->d3GetSet(),'getLicenseConfigData'], [ConfModel::SERIAL_BIT_STANDARD_EDITION])
);
}
@ -128,7 +128,7 @@ class d3_cfg_ordermanageritem_trigger extends d3_cfg_mod_main
return $this->d3GetSet()->isDemo() ||
in_array(
true,
array_map(array($this->d3GetSet(),'getLicenseConfigData'),array(ConfModel::SERIAL_BIT_PREMIUM_EDITION))
array_map([$this->d3GetSet(),'getLicenseConfigData'], [ConfModel::SERIAL_BIT_PREMIUM_EDITION])
);
}
}

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,13 +15,13 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
use D3\ModCfg\Application\Controller\Admin\d3_cfg_mod_licence;
class d3_cfg_ordermanagerset_licence extends d3_cfg_mod_licence
class d3_cfg_ordermanagerset_licence extends d3_cfg_mod_licence
{
protected $_sModId = 'd3_ordermanager';
protected $_hasNewsletterForm = false;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -23,6 +23,7 @@ use D3\ModCfg\Application\Controller\Admin\d3_cfg_mod_main;
use D3\ModCfg\Application\Model\d3str;
use D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception;
use D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException;
use D3\ModCfg\Application\Model\Exception\wrongModIdException;
use D3\ModCfg\Application\Model\Filegenerator\d3filegeneratorcronsh;
use D3\ModCfg\Application\Model\Shopcompatibility\d3ShopCompatibilityAdapterHandler;
use D3\Ordermanager\Application\Model\d3ordermanager as Manager;
@ -55,7 +56,9 @@ class d3_cfg_ordermanagerset_main extends d3_cfg_mod_main
*/
public function __construct()
{
d3GetModCfgDIC()->setParameter($this->_DIC_Instance_Id.'modcfgid', $this->_sModId);
if (d3GetModCfgDIC()->getParameter($this->_DIC_Instance_Id . 'modcfgid') !== $this->_sModId) {
throw oxNew(wrongModIdException::class, $this->_sModId);
}
parent::__construct();
}
@ -118,9 +121,9 @@ class d3_cfg_ordermanagerset_main extends d3_cfg_mod_main
{
$sBaseUrl = $this->getViewConfig()->getModuleUrl('d3ordermanager').'public/d3_ordermanager_cron.php';
$aParameters = array(
$aParameters = [
'shp' => $this->getViewConfig()->getActiveShopId(),
);
];
if ($iCronJobId !== false) {
$aParameters['cjid'] = $iCronJobId;
@ -144,10 +147,10 @@ class d3_cfg_ordermanagerset_main extends d3_cfg_mod_main
{
$sScriptPath = VENDOR_PATH.'bin/d3_ordermanager_cron';
$aParameters = array(
$aParameters = [
'task' => 'run',
'shp' => $this->getViewConfig()->getActiveShopId(),
);
];
if ($iCronJobId !== false) {
$aParameters['cjid'] = $iCronJobId;
@ -261,11 +264,11 @@ class d3_cfg_ordermanagerset_main extends d3_cfg_mod_main
$sCronId = $request->getRequestEscapedParameter('cronid');
$oShop = $this->d3GetActiveShop();
$aParameters = array(
$aParameters = [
0 => 'run',
1 => $oShop->getId(),
2 => $sCronId,
);
];
$oD3ShGenerator = $this->getFileGeneratorCronSh();
$oD3ShGenerator->setContentType($request->getRequestEscapedParameter('crontype'));

View File

@ -15,7 +15,7 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller\Admin;
@ -25,6 +25,7 @@ use D3\ModCfg\Application\Model\d3str;
use D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception;
use D3\ModCfg\Application\Model\Exception\d3ParameterNotFoundException;
use D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException;
use D3\ModCfg\Application\Model\Exception\wrongModIdException;
use D3\Ordermanager\Application\Model\d3ordermanager as Manager;
use D3\Ordermanager\Application\Model\d3ordermanager_configurationcheck;
use D3\Ordermanager\Application\Model\d3ordermanager_execute as ManagerExecuteModel;
@ -65,7 +66,9 @@ class d3_ordermanager_jobs extends AdminDetailsController
// prevent the use of the global currency setting instead of the order setting
unset($_GET['cur']);
d3GetModCfgDIC()->setParameter($this->_DIC_Instance_Id.'modcfgid', $this->_sModId);
if (d3GetModCfgDIC()->getParameter($this->_DIC_Instance_Id . 'modcfgid') !== $this->_sModId) {
throw oxNew(wrongModIdException::class, $this->_sModId);
}
parent::__construct();
}
@ -97,7 +100,7 @@ class d3_ordermanager_jobs extends AdminDetailsController
$soxId = $this->getEditObjectId();
$this->addTplParam("oxid", $soxId);
if ($soxId != "-1" && isset($soxId)) {
if (isset($soxId) && $soxId != "-1") {
$oItem = $this->getItemObject();
$oItem->load($soxId);
$this->addTplParam("edit", $oItem);
@ -374,9 +377,9 @@ class d3_ordermanager_jobs extends AdminDetailsController
$this->checkForConfigurationException($oManager);
$contents = $oManager->getEditableContent($sItemId);
$this->addTplParam('aMailContent', $contents);
$field = oxNew(Field::class);
$field->setValue($contents['html']);
$object = oxNew(BaseModel::class);
@ -404,7 +407,7 @@ class d3_ordermanager_jobs extends AdminDetailsController
*/
public function getUserMessages(): array
{
return array();
return [];
}
/**
@ -467,14 +470,10 @@ class d3_ordermanager_jobs extends AdminDetailsController
protected function checkForConfigurationException(Manager $oManager): void
{
d3GetModCfgDIC()->set(d3ordermanager_configurationcheck::class.'.args.ordermanager', $oManager);
d3GetModCfgDIC()->setParameter(
d3ordermanager_configurationcheck::class.'.args.checktypes',
$oManager->getValue('sManuallyExecMeetCondition') ?
d3ordermanager_configurationcheck::REQUIREMENTS_AND_ACTIONS :
d3ordermanager_configurationcheck::ACTIONS_ONLY
);
/** @var d3ordermanager_configurationcheck $confCheck */
$confCheck = d3GetModCfgDIC()->get(d3ordermanager_configurationcheck::class);
$confCheck->checkThrowingExceptions();
$confCheck->checkThrowingExceptions($oManager->getValue('sManuallyExecMeetCondition') ?
d3ordermanager_configurationcheck::REQUIREMENTS_AND_ACTIONS :
d3ordermanager_configurationcheck::ACTIONS_ONLY);
}
}

View File

@ -15,13 +15,14 @@
* @link https://www.oxidmodule.com
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace D3\Ordermanager\Application\Controller;
use D3\ModCfg\Application\Model\Configuration\d3_cfg_mod;
use D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception;
use D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException;
use D3\ModCfg\Application\Model\Exception\wrongModIdException;
use D3\ModCfg\Application\Model\Log\d3LogInterface;
use D3\ModCfg\Application\Model\Log\d3log;
use D3\Ordermanager\Application\Model\d3ordermanager as Manager;
@ -52,7 +53,9 @@ class d3ordermanager_response extends Base
*/
public function __construct()
{
d3GetModCfgDIC()->setParameter('d3.ordermanager.modcfgid', $this->_sModId);
if (d3GetModCfgDIC()->getParameter($this->_DIC_Instance_Id . 'modcfgid') !== $this->_sModId) {
throw oxNew(wrongModIdException::class, $this->_sModId);
}
parent::__construct();
}
@ -261,7 +264,7 @@ class d3ordermanager_response extends Base
/** @var Request $request */
$request = d3GetModCfgDIC()->get('d3ox.ordermanager.'.Request::class);
$sGetAccessKey = $request->getRequestEscapedParameter("key");
$sRegisteredAccessKey = $sSetCronPassword ? : $this->getManager()->getBaseCronPW();
$sRegisteredAccessKey = $sSetCronPassword ?: $this->getManager()->getBaseCronPW();
return $this->hasValidAccessKey($sRegisteredAccessKey, $sGetAccessKey);
}
@ -335,19 +338,11 @@ class d3ordermanager_response extends Base
*/
public function getCronUnavailableException($sMessage): cronUnavailableException
{
d3GetModCfgDIC()->setParameter(
cronUnavailableException::class.'.args.message',
$sMessage
);
/** @var cronUnavailableException $cronUnavailableExc */
$cronUnavailableExc = d3GetModCfgDIC()->get(cronUnavailableException::class);
return $cronUnavailableExc;
return oxNew(cronUnavailableException::class, $sMessage);
}
/**
* @return string
* @return string|int
*/
protected function _getCronJobIdParameter()
{
@ -367,13 +362,7 @@ class d3ordermanager_response extends Base
*/
protected function _getCronTimestampVarName(): string
{
$sVarName = "sCronExecTimestamp";
if ($this->_getCronJobIdParameter() !== false) {
$sVarName .= $this->_getCronJobIdParameter();
}
return $sVarName;
return "sCronExecTimestamp".$this->_getCronJobIdParameter();
}
public function getLastExecDate(): string
@ -392,7 +381,7 @@ class d3ordermanager_response extends Base
$taskCount = current(
array_filter(
$this->getManager()->getAvailableCronjobIds(),
function($entry) use ($sCronJobId) {
function ($entry) use ($sCronJobId) {
return $entry['id'] == $sCronJobId;
}
)
@ -408,7 +397,7 @@ class d3ordermanager_response extends Base
$this->getLang()->translateString('D3_GENERAL_ORDERMANAGER_LASTEXEC_CRONID'),
$sCronJobId,
$this->getLastExecDate()
)
),
];
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More