CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
BarcodeLib Class Reference

Static Public Member Functions

static padUPC ($upc)
 
static trimCheckDigit ($upc)
 
static getCheckDigit ($upc)
 
static verifyCheckDigit ($upc)
 
static EAN13CheckDigit ($str)
 
static UPCACheckDigit ($str)
 
static normalize13 ($str)
 

Detailed Description

Barcode related functions

Member Function Documentation

static BarcodeLib::getCheckDigit (   $upc)
static

Calculate standard check digit for UPCs, EANs, etc

Parameters
$upcstring upc
Returns
int check digit
static BarcodeLib::padUPC (   $upc)
static

Zero-padd a UPC to standard length

Parameters
$upcstring upc
Returns
standard length upc

The documentation for this class was generated from the following file: