Code93
extends AbstractBarcode
in package
implements
BarcodeInterface
CODE 93 - USS-93 Compact code similar to Code 39
Table of Contents
Interfaces
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
- checksum() : string
- Calculate CODE 93 checksum (modulo 47).
- init() : mixed
Properties
$data
protected
array<string|int, mixed>
$data
Methods
__construct()
public
__construct(string $code[, mixed $quiet_zone_left = null ][, mixed $quiet_zone_right = null ]) : mixed
Parameters
- $code : string
- $quiet_zone_left : mixed = null
- $quiet_zone_right : mixed = null
getChecksum()
public
getChecksum() : string
Return values
stringgetData()
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
Tags
Return values
stringbinseqToArray()
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>checksum()
Calculate CODE 93 checksum (modulo 47).
protected
checksum(string $code) : string
Parameters
- $code : string
Return values
stringinit()
private
init(string $code) : mixed
Parameters
- $code : string