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
QRframeFiller Class Reference
Standard API Core

Fills frame with data. More...

## Public Member Functions
| __construct ($width, &$frame)
| Frame filler Constructor. More...
| setFrameAt ($at, $val)
| Sets frame code at given position. More...
| getFrameAt ($at)
| Gets frame code from given position. More...
| next ()
| Proceed to next code point. More...

## Public Attributes
| $width
| Integer Frame width
| $frame
| Array Frame itself
| $x
| Integer current X position
| $y
| Integer current Y position
| $dir
| Integer direction
| $bit
| Integer bit

## Detailed Description

Fills frame with data.

Each empty frame consist of markers, timing symbols and format configuration. Remaining place is place for data, and should be filled according to QR Code spec.

## Constructor & Destructor Documentation

QRframeFiller::__construct | ( |  | $width,
|  | & | $frame
| ) |  |

Frame filler Constructor.

Parameters

  Integer | $width | frame size
  Array | $frame | Frame array

## Member Function Documentation

QRframeFiller::getFrameAt | ( |  | $at) |  |

Gets frame code from given position.

Parameters

  Array | $at | position, map containing x and y coordinates

Returns
  Integer value at requested position

QRframeFiller::next | ( | ) |  |

Proceed to next code point.

QRframeFiller::setFrameAt | ( |  | $at,
|  |  | $val
| ) |  |

Sets frame code at given position.

Parameters

  Array | $at | position, map containing x and y coordinates
  Integer | $val | value to set

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

- lib/full/qrencode.php