apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: Image_Barcode

Source Location: /Image_Barcode-1.0.1/Barcode.php

Class Overview

PEAR
   |
   --Image_Barcode

The Image_Barcode class provides method to create barcode using GD library.


Author(s):

Methods


Child classes:

Image_Barcode_ean13
Class to create a EAN 13 barcode
Image_Barcode_int25
Class to create a Interleaved 2 of 5 barcode
Image_Barcode_Code39
The Image_Barcode class provides method to create barcode using GD library.

Inherited Variables

Inherited Methods


Class Details

[line 32]
The Image_Barcode class provides method to create barcode using GD library.


[ Top ]


Method Detail

draw   [line 47]

image draw( string $text, [string $type = 'int25'], [string $imgtype = 'png'])

Draws a image barcode
  • Return: The corresponding image barcode
  • Author: Marcelo Subtil Marcal <jason@conectiva.com.br>
  • Since: PHP 4.2.3
  • Access: public

Overridden in child classes as:

Image_Barcode_ean13::draw()
Image_Barcode_int25::draw()
Image_Barcode_Code39::draw()

Parameters:

string   $text   —  A text that should be in the image barcode
string   $type   —  The barcode type
string   $imgtype   —  The image type that will be generated

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:21:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.