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

Method encodeRAW

text-to-qr/lib/phpqrcode/phpqrcode.php:3254–3265  ·  view source on GitHub ↗

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

($intext, $outfile = false)

Source from the content-addressed store, hash-verified

3252
3253 //----------------------------------------------------------------------
3254 public function encodeRAW($intext, $outfile = false)
3255 {
3256 $code = new QRcode();
3257
3258 if($this->eightbit) {
3259 $code->encodeString8bit($intext, $this->version, $this->level);
3260 } else {
3261 $code->encodeString($intext, $this->version, $this->level, $this->hint, $this->casesensitive);
3262 }
3263
3264 return $code->data;
3265 }
3266
3267 //----------------------------------------------------------------------
3268 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