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

Class: Image_Barcode2_Driver_Ean13

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

Class Overview

Image_Barcode2_Common
   |
   --Image_Barcode2_Driver_Ean13

EAN 13


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 43]
EAN 13

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



[ Top ]


Method Detail

__construct (Constructor)   [line 124]

Image_Barcode2_Driver_Ean13 __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 156]

resource draw( )

Draws a EAN 13 image barcode
  • Return: The corresponding EAN13 image barcode
  • Author: Didier Fournout <didier.fournout@nyc.fr>
  • Access: public

[ Top ]

validate   [line 138]

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.