Documentation

QRDataModeAbstract
in package
implements QRDataModeInterface

Interfaces, Classes, Traits and Enums

QRDataModeInterface
Specifies the methods reqired for the data modules (Number, Alphanum, Byte and Kanji)

Table of Contents

$data  : string
The data to write
$datamode  : int
the current data mode: Num, Alphanum, Kanji, Byte
__construct()  : mixed
QRDataModeAbstract constructor.
getDataMode()  : int
returns the current data mode constant
getCharCount()  : int
returns the character count of the $data string
getLengthBits()  : int
shortcut

Properties

$datamode

the current data mode: Num, Alphanum, Kanji, Byte

protected static int $datamode

Methods

getDataMode()

returns the current data mode constant

public getDataMode() : int
Tags
inheritDoc
Return values
int

getCharCount()

returns the character count of the $data string

protected getCharCount() : int
Return values
int

getLengthBits()

shortcut

protected static getLengthBits(int $versionNumber) : int
Parameters
$versionNumber : int
Return values
int

Search results