/** * Constructor * * @param int $gs1 * @param string $isbn_text * @param mixed $textfont2 BCGFont or int */ public function __construct($gs1 = self::GS1_AUTO, $isbn_text = BCGBarcode1D::AUTO_LABEL, $isbn_font = null) { parent::__construct(); $this->forceOffsetY = false; $this->setISBNFont($isbn_font); $this->setISBNText($isbn_text); $this->setGS1($gs1); }
/** * Constructor * * @param int $gs1 * @param string $isbn_text * @param mixed $textfont2 BCGFont or int */ public function __construct($gs1 = self::GS1_AUTO, $isbn_text = BCGBarcode1D::AUTO_LABEL, $isbn_font = null) { parent::__construct(); if ($isbn_font === null) { $this->setISBNFont($this->textfont); } else { $this->setISBNFont($isbn_font); } $this->setISBNText($isbn_text); $this->setGS1($gs1); }
/** * Constructor. * * @param int $gs1 */ public function __construct($gs1 = self::GS1_AUTO) { parent::__construct(); $this->setGS1($gs1); }
/** * Constructor. */ public function __construct() { parent::__construct(); }