Class: ProgrammeFilter
Summary
An object used to filter programmes.When the dtFrom and dtTo constructor parameters are used the "search old listings" checkbox on the interface is disabled.
Methods
Events
Event | Description |
isChannelIncluded |
Called to determine if a channel should be included in the search. |
isMatch |
Called by DigiGuide to determine if a programme should be included. |
onStarted |
Called when the filter is started |
onStopped |
Called when the filtered is stopped or if it finishes. |
|
|
|
Properties
Property | Description |
description |
Description of the filter |
title |
Title of the filter |
|
|
|
Examples
Code below creates a filter for movies between 1990 and 2000, and then creates a ShowMe popup window using the filter.var pFilter = new ProgrammeFilter( "All movies between 1990 and 2000", "Shows all movies between 1990 and 2000" ); pFilter.isMatch = function ( prog ) { return prog.category.id == 2 && prog.year > 1989 && prog.year < 2001; } app.getViewManager().showMe( pFilter );
|
See Also
ViewManager : showMe
Requirements
build 1069
|