Aspose.Barcode for PHP via Java Generation and Recognition API docs

Inherits BaseJavaClass.

Public Member Functions

 __construct (int $code128SubType, string $data)
 
 getData ()
 
 setData (string $value)
 
 getCode128SubType ()
 
 setCode128SubType (int $value)
 
 toString ()
 
- Public Member Functions inherited from BaseJavaClass
 __construct ($javaClass)
 
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Static Public Member Functions

static construct ($javaClass)
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Private Attributes

const javaClassName = "com.aspose.mw.barcode.recognition.MwCode128DataPortion"
 

Detailed Description

Contains the data of subtype for Code128 type barcode

Constructor & Destructor Documentation

◆ __construct()

Code128DataPortion::__construct ( int  $code128SubType,
string  $data 
)

Creates a new instance of the {Code128DataPortion} class with start code symbol and decoded codetext.

Parameters
int$code128SubTypeA start encoding symbol
string$dataA partial codetext

Member Function Documentation

◆ construct()

static Code128DataPortion::construct (   $javaClass)
static

◆ getCode128SubType()

Code128DataPortion::getCode128SubType ( )
final

Gets the type of Code128 subset

Returns
int The type of Code128 subset

◆ getData()

Code128DataPortion::getData ( )
final

Gets the part of code text related to subtype.

Returns
string The part of code text related to subtype

◆ init()

Code128DataPortion::init ( )
protected

Reimplemented from BaseJavaClass.

◆ setCode128SubType()

Code128DataPortion::setCode128SubType ( int  $value)
final

Gets the type of Code128 subset

◆ setData()

Code128DataPortion::setData ( string  $value)
final

Gets the part of code text related to subtype.

Returns
string The part of code text related to subtype

◆ toString()

Code128DataPortion::toString ( )

Returns a human-readable string representation of this {Code128DataPortion}.

Returns
string A string that represents this {Code128DataPortion}.

Member Data Documentation

◆ javaClassName

const Code128DataPortion::javaClassName = "com.aspose.mw.barcode.recognition.MwCode128DataPortion"
private