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

Class: Image_Barcode_code128

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

Class Overview

PEAR
   |
   --Image_Barcode
      |
      --Image_Barcode_code128

Image_Barcode class


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods

Class: Image_Barcode

Image_Barcode::draw()
Draws a image barcode

Class Details

[line 47]
Image_Barcode class

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

  • Author: Marcelo Subtil Marcal <msmarcal@php.net>
  • Version: Release: @package_version@
  • Copyright: 2005 The PHP Group


[ Top ]


Class Variables

$code =

[line 53]


Type:   mixed


[ Top ]



Method Detail

Image_Barcode_code128 (Constructor)   [line 197]

Image_Barcode_code128 Image_Barcode_code128( )


[ Top ]

draw   [line 75]

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

Draws a Code128 image barcode
  • Return: The corresponding interleaved 2 of 5 image barcode
  • Author: Jeffrey K. Brown <jkb@darkfantastic.net>
  • 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 ]

getCharCode   [line 307]

void getCharCode( $c)

Return the Code128 code for a character

Parameters:

   $c   — 

[ Top ]

getCharNumber   [line 337]

void getCharNumber( $c)

Return the Code128 numerical equivalent of a character.

Parameters:

   $c   — 

[ Top ]

getNumCode   [line 329]

void getNumCode( $index)

Return the Code128 code equivalent of a character number

Parameters:

   $index   — 

[ Top ]

getStartCode   [line 315]

void getStartCode( )

Return the Start Code for Code128

[ Top ]

getStopCode   [line 322]

void getStopCode( )

Return the Stop Code for Code128

[ Top ]


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