本文整理匯總了PHP中BCGBarcode1D::parse方法的典型用法代碼示例。如果您正苦於以下問題:PHP BCGBarcode1D::parse方法的具體用法?PHP BCGBarcode1D::parse怎麽用?PHP BCGBarcode1D::parse使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BCGBarcode1D
的用法示例。
在下文中一共展示了BCGBarcode1D::parse方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: parse
/**
* Parses the text before displaying it.
*
* @param mixed $text
*/
public function parse($text)
{
// Not .NET Compatible
BCGBarcode1D::parse(str_replace(array('-', ' '), '', $text));
$this->createISBNText();
$this->setLabelOffset();
}
示例2: parse
/**
* Parses the text before displaying it.
*
* @param mixed $text
*/
public function parse($text)
{
parent::parse(strtoupper($text));
// Only Capital Letters are Allowed
}
示例3: parse
public function parse($text)
{
parent::parse($text);
$this->setLabelOffset();
}
示例4: parse
/**
* Parses the text before displaying it.
*
* @param mixed $text
*/
public function parse($text)
{
parent::parse($text);
$number = self::executeStep1($this->text, $this->barcodeIdentifier, $this->serviceTypeIdentifier, $this->mailerIdentifier, $this->serialNumber);
$crc = self::executeStep2($number);
$codewords = self::executeStep3($number);
$codewords = self::executeStep4($codewords, $crc);
$characters = self::executeStep5($codewords, $crc);
$this->data = self::executeStep6($characters);
}
示例5: parse
/**
* Saves Text
*
* @param string $text
*/
function parse($text)
{
BCGBarcode1D::parse(str_replace(array('-', ' '), '', $text));
$this->createISBNText();
$this->setLabelOffset();
}
示例6: parse
/**
* Saves Text
*
* @param string $text
*/
function parse($text)
{
BCGBarcode1D::parse(strtoupper($text));
// Only Capital Letters are Allowed
}
示例7: parse
function parse($text)
{
BCGBarcode1D::parse($text);
$this->setLabelOffset();
}