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

Class: Image_Barcode2_Driver_Ean8

Source Location: /Image_Barcode2-0.2.3/Image/Barcode2/Driver/Ean8.php

Class Overview

Image_Barcode2_Common
   |
   --Image_Barcode2_Driver_Ean8

EAN 8


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 44]
EAN 8

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



[ Top ]


Method Detail

__construct (Constructor)   [line 98]

Image_Barcode2_Driver_Ean8 __construct( Image_Barcode2_Writer $writer)

Class constructor
  • Access: public

Overrides Image_Barcode2_Common::__construct() (Class constructor)

Parameters:

Image_Barcode2_Writer   $writer   —  Library to use.

[ Top ]

draw   [line 131]

resource draw( )

Draws a EAN 8 image barcode
  • Return: The corresponding EAN8 image barcode
  • Author: Tobias Frost tobi@coldtobi.de based on the EAN13 code by Didier Fournout <didier.fournout@nyc.fr>
  • Access: public

[ Top ]

validate   [line 112]

void validate( )

Validate barcode
  • Throws: Image_Barcode2_Exception
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:53:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.