DigiGuide Logo

Home » Development Area » DigiGuide Script » API Index » Function: DoesChannelLogoExist

Function: DoesChannelLogoExist


bool DoesChannelLogoExist( int channelID )

Summary

Determie if a logo exists for the channel ID passed


Remarks

Allows a script to determine if the logo exists for a given channel and make a decision based on that fact.


Parameters

ParameterDescription
int channelID Channel ID you wish to check.


Returns


Examples

Code taken from the single channel list. If the logo exists then it uses a different string template.

if( DoesChannelLogoExist( GetProgrammeInfo( nProg, "$ChannelID" ) ) )
{
strTemplate = f_strHeaderTemplate;
}
else
{
strTemplate = f_strHeaderTemplateNoLogo;
}

(Last updated: October 20, 2006 10:38:32)