Documentation

EcBlock
in package

Encapsulates the parameters for one error-correction block in one symbol version.

This includes the number of data codewords, and the number of times a block with these parameters is used consecutively in the QR code version's format.

Table of Contents

$count  : int
How many times the block is used.
$dataCodewords  : int
Number of data codewords.
__construct()  : mixed
getCount()  : int
Returns how many times the block is used.
getDataCodewords()  : int
Returns the number of data codewords.

Properties

$count

How many times the block is used.

private int $count

$dataCodewords

Number of data codewords.

private int $dataCodewords

Methods

__construct()

public __construct(int $count, int $dataCodewords) : mixed
Parameters
$count : int
$dataCodewords : int
Return values
mixed

getCount()

Returns how many times the block is used.

public getCount() : int
Return values
int

getDataCodewords()

Returns the number of data codewords.

public getDataCodewords() : int
Return values
int

Search results