本文整理汇总了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();
}