Esempio n. 1
0
 public static function png($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4, $saveandprint = false)
 {
     self::$_fileName = end(explode('/', $text));
     $enc = QRencode::factory($level, $size, $margin);
     return $enc->encodePNG($text, $outfile, $saveandprint = false);
 }