Documentation

I25 extends AbstractBarcode
in package
implements BarcodeInterface

Interleaved 2 of 5 barcodes.

Compact numeric code, widely used in industry, air cargo Contains digits (0 to 9) and encodes the data in the width of both bars and spaces.

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
checksum()  : int
Checksum for standard 2 of 5 barcodes.
init()  : mixed

Properties

Methods

__construct()

public __construct(string $code, float $topBottomMargin, float $printRatio[, bool $checksum = false ][, mixed $quiet_zone_left = null ][, mixed $quiet_zone_right = null ]) : mixed
Parameters
$code : string
$topBottomMargin : float
$printRatio : float
$checksum : 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
Tags
inheritdoc
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>

checksum()

Checksum for standard 2 of 5 barcodes.

private checksum(string $code) : int
Parameters
$code : string
Return values
int

init()

private init(string $code, float $printRatio, bool $checksum) : mixed
Parameters
$code : string
$printRatio : float
$checksum : bool

        
On this page

Search results