rename registry classes

This commit is contained in:
Daniel Seifert 2020-05-30 01:02:50 +02:00
bovenliggende f7cfdccefd
commit 0ecdc1281b
Getekend door: DanielS
GPG sleutel-ID: 6A513E13AEE66170
6 gewijzigde bestanden met toevoegingen van 9 en 10 verwijderingen

Bestand weergeven

@ -22,7 +22,7 @@ use D3\PdfDocuments\Application\Model\Exceptions\noPdfHandlerFoundException;
use D3\PdfDocuments\Application\Model\Exceptions\pdfGeneratorExceptionAbstract;
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocuments_order_interface;
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocuments_order_interface as OrderPdfInterface;
use D3\PdfDocuments\Application\Model\Registries\registry_orderoverview;
use D3\PdfDocuments\Application\Model\Registries\registryOrderoverview;
use OxidEsales\Eshop\Application\Model\Order;
use OxidEsales\Eshop\Core\Registry;
@ -55,7 +55,7 @@ class orderOverviewPdfGenerator
{
$requestedType = Registry::getRequest()->getRequestParameter('pdftype');
$generatorList = oxNew(registry_orderoverview::class);
$generatorList = oxNew(registryOrderoverview::class);
/** @var pdfdocuments_order_interface $generator */
foreach ($generatorList->getList() as $generator) {
if ($generator->getRequestId() == $requestedType) {

Bestand weergeven

@ -19,7 +19,7 @@ namespace D3\PdfDocuments\Application\Model\Registries;
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocuments_generic_interface;
abstract class registry_abstract implements registry_generic_interface
abstract class registryAbstract implements registryGenericInterface
{
protected $_aRegistry = array();

Bestand weergeven

@ -17,7 +17,7 @@
namespace D3\PdfDocuments\Application\Model\Registries;
interface registry_generic_interface
interface registryGenericInterface
{
/**
* @param $className * generator fully qualified class name

Bestand weergeven

@ -23,7 +23,7 @@ use D3\PdfDocuments\Application\Model\Documents\invoicePdf;
use D3\PdfDocuments\Application\Model\Documents\invoicewithoutlogoPdf;
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocuments_order_interface;
class registry_orderoverview extends registry_abstract implements registry_orderoverview_interface
class registryOrderoverview extends registryAbstract implements registryOrderoverviewInterface
{
public function __construct()
{

Bestand weergeven

@ -19,7 +19,7 @@ namespace D3\PdfDocuments\Application\Model\Registries;
use D3\PdfDocuments\Application\Model\Interfaces\pdfdocuments_order_interface;
interface registry_orderoverview_interface extends registry_generic_interface
interface registryOrderoverviewInterface extends registryGenericInterface
{
/**
* @param $className * generator fully qualified class name

Bestand weergeven

@ -17,9 +17,8 @@
namespace D3\PdfDocuments\Modules\Application\controllers;
use D3\PdfDocuments\Application\Model\Exceptions\noBaseObjectSetException;
use D3\PdfDocuments\Application\Model\Exceptions\pdfGeneratorExceptionAbstract;
use D3\PdfDocuments\Application\Model\Registries\registry_orderoverview;
use D3\PdfDocuments\Application\Model\Registries\registryOrderoverview;
use D3\PdfDocuments\Modules\Application\Model\d3_Order_PdfDocuments;
use OxidEsales\Eshop\Application\Model\Order;
use OxidEsales\Eshop\Core\DatabaseProvider;
@ -76,10 +75,10 @@ class d3_overview_controller_pdfdocuments extends d3_overview_controller_pdfdocu
}
/**
* @return registry_orderoverview
* @return registryOrderoverview
*/
public function d3getGeneratorList()
{
return oxNew(registry_orderoverview::class);
return oxNew(registryOrderoverview::class);
}
}