Block/Feefo.php
public function getServiceScoreLogo()
    {
        $params = $this->getRequest()->getParams();
        if (! isset($params['code']) || ! $this->helper->isCodeValid($params['code'])) {
            $this->helper->log('Feefo no valid code is set');
            return [];
        }

        $url = 'http://www.feefo.com/feefo/feefologo.jsp?logon=';
        $logon = $this->helper->getFeefoLogon();
        $template = '';
        if ($this->helper->getFeefoLogoTemplate()) {
            $template = '&template=' . $this->helper->getFeefoLogoTemplate();
        }
        $fullUrl = $url . $logon . $template;
        $vendorUrl = 'http://www.feefo.com/feefo/viewvendor.jsp?logon='
            . $logon;

        return ['vendorUrl' => $vendorUrl, 'fullUrl' => $fullUrl];
    }
public function getServiceScoreLogo()
    {
        $params = $this->getRequest()->getParams();
        if (! isset($params['code']) || ! $this->helper->isCodeValid($params['code'])) {
            $this->helper->log('Feefo no valid code is set');
            return [];
        }

        $url = 'http://www.feefo.com/feefo/feefologo.jsp?logon=';
        $logon = $this->helper->getFeefoLogon();
        $template = '';
        if ($this->helper->getFeefoLogoTemplate()) {
            $template = '&template=' . $this->helper->getFeefoLogoTemplate();
        }
        $fullUrl = $url . $logon . $template;
        $vendorUrl = 'http://www.feefo.com/feefo/viewvendor.jsp?logon='
            . $logon;

        return ['vendorUrl' => $vendorUrl, 'fullUrl' => $fullUrl];
    }
public function getServiceScoreLogo ( ) { $ params = $ this -> getRequest ( ) -> getParams ( ) ; if ( ! isset ( $ params [ 'code' ] ) || ! $ this -> helper -> isCodeValid ( $ params [ 'code' ] ) ) { $ this -> helper -> log ( 'Feefo no valid code is set' ) ; return [ ] ; } $ url = 'http://www.feefo.com/feefo/feefologo.jsp?logon=' ; $ logon = $ this -> helper -> getFeefoLogon ( ) ; $ template = '' ; if ( $ this -> helper -> getFeefoLogoTemplate ( ) ) { $ template = '&template=' . $ this -> helper -> getFeefoLogoTemplate ( ) ; } $ fullUrl = $ url . $ logon . $ template ; $ vendorUrl = 'http://www.feefo.com/feefo/viewvendor.jsp?logon=' . $ logon ; return [ 'vendorUrl' => $ vendorUrl , 'fullUrl' => $ fullUrl ] ; }
Get customer's service score logo and output it.

@return array
Get customer s service score logo and output it .