Class EAN13

Description

Provides a class that outputs EAN-13 barcodes

Located in /3rd/barcode/EAN13.php (line 22)


	
			
Method Summary
 EAN13 EAN13 ($numbers $numbers, [$barHeight $barHeight = 35])
 void output ()
Methods
Constructor EAN13 (line 36)

Constructor.

EAN13 EAN13 ($numbers $numbers, [$barHeight $barHeight = 35])
  • $numbers $numbers: the 12-digit or 13-digit number to turn into a barcode. If 12 digits are provided, the checksum is automatically generated. If 13 are provided, the first digit is considered to be the checksum and must be valid.
  • $barHeight $barHeight: the height of the bars in pixels
output (line 159)

Outputs a PNG image of the barcode

void output ()

Documentation generated on Fri, 18 Jul 2008 11:07:43 -0400 by phpDocumentor 1.4.1