library/Garp/Service/Google/Chart.php
public function fetchQRCodeUrl($refUrl) {
        $size = 150;
        $EC_level = 'L';
        $margin = 0;
        $trail = '?qr=1';

        return self::CHART_API_URL
                .'chs='.$size.'x'.$size.'&cht=qr'
                .'&chld='.$EC_level.'|'.$margin
                .'&chl='
                .urlencode($refUrl.$trail);
    }
public function fetchQRCodeUrl($refUrl) {
        $size = 150;
        $EC_level = 'L';
        $margin = 0;
        $trail = '?qr=1';

        return self::CHART_API_URL
                .'chs='.$size.'x'.$size.'&cht=qr'
                .'&chld='.$EC_level.'|'.$margin
                .'&chl='
                .urlencode($refUrl.$trail);
    }
public function fetchQRCodeUrl ( $ refUrl ) { $ size = 150 ; $ EC_level = 'L' ; $ margin = 0 ; $ trail = '?qr=1' ; return self :: CHART_API_URL . 'chs=' . $ size . 'x' . $ size . '&cht=qr' . '&chld=' . $ EC_level . '|' . $ margin . '&chl=' . urlencode ( $ refUrl . $ trail ) ; }
Fetches the URL to the QR code image for a specific reference URL.

@param String $refUrl The unencoded URL this QR code should point to. A QR code identifier is automatically attached at the end
@return String URL to the QR code image
Fetches the URL to the QR code image for a specific reference URL .