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

Class: Image_Barcode2_Common

Source Location: /Image_Barcode2-0.2.3/Image/Barcode2/Common.php

Class Overview


Image_Barcode2_Common class


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 The PHP Group

Variables

Methods


Child classes:

Inherited Variables

Inherited Methods


Class Details

[line 37]
Image_Barcode2_Common class

Common code



[ Top ]


Class Variables

$barcode =

[line 54]

  • Var: barcode
  • Access: protected

Type:   string


[ Top ]

$barcodeheight =

[line 39]

  • Access: protected

Type:   mixed


[ Top ]

$barcodethickwidth =

[line 42]

  • Access: protected

Type:   mixed


[ Top ]

$barcodethinwidth =

[line 41]

  • Access: protected

Type:   mixed


[ Top ]

$barcodewidth =

[line 40]

  • Access: protected

Type:   mixed


[ Top ]

$fontsize =  2

[line 43]

  • Access: protected

Type:   mixed


[ Top ]

$showText =

[line 44]

  • Access: protected

Type:   mixed


[ Top ]

$writer =

[line 49]

  • Access: protected



[ Top ]



Method Detail

__construct (Constructor)   [line 62]

Image_Barcode2_Common __construct( Image_Barcode2_Writer $writer)

Class constructor
  • Access: public

Overridden in child classes as:

Image_Barcode2_Driver_Code128::__construct()
Class constructor
Image_Barcode2_Driver_Postnet::__construct()
Class constructor
Image_Barcode2_Driver_Code39::__construct()
Class constructor
Image_Barcode2_Driver_Upca::__construct()
Class constructor
Image_Barcode2_Driver_Int25::__construct()
Class constructor
Image_Barcode2_Driver_Ean13::__construct()
Class constructor
Image_Barcode2_Driver_Upce::__construct()
Class constructor
Image_Barcode2_Driver_Ean8::__construct()
Class constructor

Parameters:

Image_Barcode2_Writer   $writer   —  Library to use.

[ Top ]

getBarcode   [line 106]

string getBarcode( )

Get the barcode
  • Access: public

[ Top ]

getBarcodeHeight   [line 148]

void getBarcodeHeight( )

  • Access: public

[ Top ]

getBarcodeWidth   [line 158]

void getBarcodeWidth( )

  • Access: public

[ Top ]

getBarcodeWidthThick   [line 168]

void getBarcodeWidthThick( )

  • Access: public

[ Top ]

getBarcodeWidthThin   [line 178]

void getBarcodeWidthThin( )

  • Access: public

[ Top ]

getFontSize   [line 138]

void getFontSize( )

  • Access: public

[ Top ]

getShowText   [line 128]

boolean getShowText( )

Get if text will be placed under the barcode
  • Access: public

[ Top ]

getWriter   [line 84]

Image_Barcode2_Writer getWriter( )

Get the image rendering library.
  • Access: public

[ Top ]

setBarcode   [line 96]

void setBarcode( string $barcode)

Set the barcode
  • Access: public

Parameters:

string   $barcode   —  barcode

[ Top ]

setBarcodeHeight   [line 143]

void setBarcodeHeight( $height)

  • Access: public

Parameters:

   $height   — 

[ Top ]

setBarcodeWidth   [line 153]

void setBarcodeWidth( $width)

  • Access: public

Parameters:

   $width   — 

[ Top ]

setBarcodeWidthThick   [line 163]

void setBarcodeWidthThick( $width)

  • Access: public

Parameters:

   $width   — 

[ Top ]

setBarcodeWidthThin   [line 173]

void setBarcodeWidthThin( $width)

  • Access: public

Parameters:

   $width   — 

[ Top ]

setFontSize   [line 133]

void setFontSize( $size)

  • Access: public

Parameters:

   $size   — 

[ Top ]

setShowText   [line 118]

void setShowText( boolean $showText)

Set if text will be placed under the barcode
  • Access: public

Parameters:

boolean   $showText   —  The text should be placed under barcode

[ Top ]

setWriter   [line 74]

void setWriter( Image_Barcode2_Writer $writer)

Set the image rendering library.
  • Access: public

Parameters:

Image_Barcode2_Writer   $writer   —  Library to use.

[ Top ]


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