API Documentation

Validate/Barcode/AdapterInterface.php

Interfaces
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
version
$Id: Ean13.php 18028 2009-09-08 20:52:23Z thomas $
Interfaces
Zend_Validate_Barcode_AdapterInterface

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Validate_Barcode_AdapterInterface

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
Methods
checkLength
checkChars
checksum
getCheck
setCheck

Description

Methods

checkChars

checkChars( string $value ) : boolean

Checks for allowed characters within the barcode

Arguments
$value
string
The barcode to check for allowed characters
Output
boolean
Details
visibility
public
final
false
static
false

checkLength

checkLength( string $value ) : boolean

Checks the length of a barcode

Arguments
$value
string
The barcode to check for proper length
Output
boolean
Details
visibility
public
final
false
static
false

checksum

checksum( string $value ) : boolean

Validates the checksum

Arguments
$value
string
The barcode to check the checksum for
Output
boolean
Details
visibility
public
final
false
static
false

getCheck

getCheck( ) : boolean

Returns if barcode uses a checksum

Output
boolean
Details
visibility
public
final
false
static
false

setCheck

setCheck( boolean $check ) : Zend_Validate_Barcode_Adapter

Sets the checksum validation

Arguments
$check
boolean
Output
Zend_Validate_Barcode_Adapter
Provides fluid interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.