Home » Development Area » DigiGuide Print Script » 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: September 16, 2011 11:26:32)