Methods
__construct
__construct(\Enlight_Event_EventManager $eventManager, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelTemplates $barcodeLabelTemplates, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelPresets $barcodeLabelPresets, \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelRenderer $barcodeLabelRenderer)
Arguments
$eventManager
\Enlight_Event_EventManager
Returns a barcode label type.
getBarcodeLabelTypeByName(string $typeIdentifier) : \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\AbstractBarcodeLabelType|null
Returns the list of all available barcode label templates.
getLabelTemplates(string $barcodeLabelTypeIdentifier) : array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelTemplate>
Returns all barcode label paper layouts.
getPaperLayouts() : array<mixed,\Shopware\Plugins\ViisonCommon\Classes\Document\GridPaperLayout>
Response
array<mixed,\Shopware\Plugins\ViisonCommon\Classes\Document\GridPaperLayout>
Create the barcode label pdf.
renderBarcodeLabels(\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelItemProvider $itemProvider, \Shopware\CustomModels\ViisonPickwareERP\BarcodeLabel\BarcodeLabelPreset $preset, integer $offsetX = null, integer $offsetY = null) : \Shopware\Plugins\ViisonCommon\Classes\Document\RenderedDocument\RenderedDocument
Arguments
Response
\Shopware\Plugins\ViisonCommon\Classes\Document\RenderedDocument\RenderedDocument
Update the preset's data with the given values.
updatePresetWithValues(\Shopware\CustomModels\ViisonPickwareERP\BarcodeLabel\BarcodeLabelPreset $preset, array $values)
Constants
Event to be fired to collect all installed barcode label types.
TYPES