src/ShopBundle/objects/db/TShopManufacturer.class.php
public function GetLogo($bReturnDefaultImageIfNoneSet = false)
    {
        $oLogo = $this->GetFromInternalCache('oLogo');
        if (is_null($oLogo)) {
            $oLogo = $this->GetImage(1, 'cms_media_id', $bReturnDefaultImageIfNoneSet);
            if (is_null($oLogo)) {
                $oLogo = $this->GetIcon($bReturnDefaultImageIfNoneSet);
            }
            if (is_null($oLogo)) {
                $oLogo = false;
            }
            $this->SetInternalCache('oLogo', $oLogo);
        }

        return $oLogo;
    }
public function GetLogo($bReturnDefaultImageIfNoneSet = false)
    {
        $oLogo = $this->GetFromInternalCache('oLogo');
        if (is_null($oLogo)) {
            $oLogo = $this->GetImage(1, 'cms_media_id', $bReturnDefaultImageIfNoneSet);
            if (is_null($oLogo)) {
                $oLogo = $this->GetIcon($bReturnDefaultImageIfNoneSet);
            }
            if (is_null($oLogo)) {
                $oLogo = false;
            }
            $this->SetInternalCache('oLogo', $oLogo);
        }

        return $oLogo;
    }
public function GetLogo ( $ bReturnDefaultImageIfNoneSet = false ) { $ oLogo = $ this -> GetFromInternalCache ( 'oLogo' ) ; if ( is_null ( $ oLogo ) ) { $ oLogo = $ this -> GetImage ( 1 , 'cms_media_id' , $ bReturnDefaultImageIfNoneSet ) ; if ( is_null ( $ oLogo ) ) { $ oLogo = $ this -> GetIcon ( $ bReturnDefaultImageIfNoneSet ) ; } if ( is_null ( $ oLogo ) ) { $ oLogo = false ; } $ this -> SetInternalCache ( 'oLogo' , $ oLogo ) ; } return $ oLogo ; }
return the logo for the manufacturer. if none has been set, it will return the icon instead
if there is no icon either, it will return false.

@return TCMSImage
return the logo for the manufacturer . if none has been set it will return the icon instead if there is no icon either it will return false .