MCPcopy Create free account
hub / github.com/codemistic/Web-Development / encodeRAW

Method encodeRAW

text-to-qr/lib/phpqrcode/qrencode.php:446–457  ·  view source on GitHub ↗

----------------------------------------------------------------------

($intext, $outfile = false)

Source from the content-addressed store, hash-verified

444
445 //----------------------------------------------------------------------
446 public function encodeRAW($intext, $outfile = false)
447 {
448 $code = new QRcode();
449
450 if($this->eightbit) {
451 $code->encodeString8bit($intext, $this->version, $this->level);
452 } else {
453 $code->encodeString($intext, $this->version, $this->level, $this->hint, $this->casesensitive);
454 }
455
456 return $code->data;
457 }
458
459 //----------------------------------------------------------------------
460 public function encode($intext, $outfile = false)

Callers 1

rawMethod · 0.45

Calls 2

encodeString8bitMethod · 0.45
encodeStringMethod · 0.45

Tested by

no test coverage detected