AbstractBarcodeLabelType

package

Default

Methods

__construct

__construct(string $type, boolean $blocksEditable, array<mixed,string> $templateDirectories) 

Arguments

$type

string

$blocksEditable

boolean

$templateDirectories

array<mixed,string>

areBlocksEditable

areBlocksEditable() : boolean

Response

boolean

createItemProvider

createItemProvider(array $params, array $filter, array $sort) 

Arguments

$params

array

$filter

array

$sort

array

Creates an item provider that collects the data for all labels.

createItemProviderForFilter(array $params, array $filter) : \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelItemProvider
abstract
deprecated

When removing this method, please keep in mind, that this may break the compatibility with all plugins, that implement custom barcode label types (currently Pickware POS (loyalty cards) and Pickware Mobile (picking box labels)).

Arguments

$params

array

$filter

array

Response

\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelItemProvider

Creates an item provider that collects the data for preview labels.

createItemProviderForPreview(array $params) : \Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelItemProvider
abstract

Adds a barcode label to the print queue based on its identifier's identifier.

enqueueForPrinting(string $identifier, integer $quantity = 1) 
abstract

Arguments

$identifier

string

$quantity

integer

getBarcodeLabelTemplateDirectories

getBarcodeLabelTemplateDirectories() : array<mixed,string>

Response

array<mixed,string>

Returns the variables

getFields() : array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\BarcodeLabel\BarcodeLabelField>
abstract

getType

getType() : string

Response

string