PHP QrCode Liblary 2.0

- Main Page
- Related Pages
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Variables Groups Pages
Public Member Functions | Public Attributes | List of all members
QRrawcode Class Reference
Standard API Core

Raw Code holder. More...

## Public Member Functions
| __construct (QRinput $input)
| Raw Code holder Constructor. More...
| init (array $spec)
| Initializes Raw Code according to current code speciffication. More...
| getCode ()
| Gets ECC code. More...

## Public Attributes
| $version
| Integer code Version
| $datacode = array()
| Array data stream
| $ecccode = array()
| Array ECC Stream
| $blocks
| Integer RS Blocks count
| $rsblocks = array()
| Array of RSblock, ECC code blocks
| $count
| Integer position of currently processed ECC code
| $dataLength
| Integer data stream length
| $eccLength
| Integer ECC stream length
| $b1
| Integer width of code in pixels, used as a modulo base for column overflow

## Detailed Description

Raw Code holder.

Contains encoded code data before there are spatialy distributed into frame and masked. Here goes dividing data into blocks and calculating ECC stream.

## Constructor & Destructor Documentation

QRrawcode::__construct | ( | QRinput | $input) |  |

Raw Code holder Constructor.

Parameters

  QRinput | $input | input stream

## Member Function Documentation

QRrawcode::getCode | ( | ) |  |

Gets ECC code.

Returns
  Integer ECC byte for current object position

QRrawcode::init | ( | array | $spec) |  |

Initializes Raw Code according to current code speciffication.

Parameters

  Array | $spec | code speciffigation, as provided by QRspec

The documentation for this class was generated from the following file:

- lib/full/qrencode.php