Documentation

Code128 extends AbstractBarcode
in package
implements BarcodeInterface

C128 barcodes.

Very capable code, excellent density, high reliability; in very wide use world-wide

Table of Contents

Interfaces

BarcodeInterface

Properties

$data  : array<string|int, mixed>

Methods

__construct()  : mixed
getChecksum()  : string
getData()  : array<string|int, mixed>
getKey()  : mixed
getType()  : string
binseqToArray()  : array<string|int, mixed>
Convert binary barcode sequence to barcode array
init()  : mixed

Properties

Methods

__construct()

public __construct(string $code[, string $type = 'B' ][, bool $ean = false ][, mixed $quiet_zone_left = null ][, mixed $quiet_zone_right = null ]) : mixed
Parameters
$code : string
$type : string = 'B'
$ean : bool = false
$quiet_zone_left : mixed = null
$quiet_zone_right : mixed = null

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getKey()

public getKey(string $key) : mixed
Parameters
$key : string

getType()

public getType() : string
Return values
string

binseqToArray()

Convert binary barcode sequence to barcode array

protected binseqToArray(string $seq, array<string|int, mixed> $barcodeData) : array<string|int, mixed>
Parameters
$seq : string
$barcodeData : array<string|int, mixed>
Return values
array<string|int, mixed>

init()

protected init(string $code, string $type, bool $ean) : mixed
Parameters
$code : string
$type : string
$ean : bool

        
On this page

Search results