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

Class: Image_Barcode_ean13

Source Location: /Image_Barcode-1.1.3/Image/Barcode/ean13.php

Class Overview

PEAR
   |
   --Image_Barcode
      |
      --Image_Barcode_ean13

Image_Barcode_ean13 class


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: Image_Barcode

Image_Barcode::draw()
Draws a image barcode

Class Details

[line 42]
Image_Barcode_ean13 class

Package which provides a method to create EAN 13 barcode using GD library.



[ Top ]


Method Detail

draw   [line 156]

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

Draws a EAN 13 image barcode
  • Return: The corresponding Interleaved 2 of 5 image barcode
  • Author: Didier Fournout <didier.fournout@nyc.fr>
  • Todo: Check if $text is number and len=13
  • Access: public

Overrides Image_Barcode::draw() (Draws a image barcode)

Parameters:

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

[ Top ]


Documentation generated on Sat, 24 Mar 2012 06:00:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.