to use filters in lists it is necessary to provide the parameters for definition of the filter prior to construction of the list. br/> the parameters for definition of the filter can be sent by one of the following methods (or combination of them):
1.- sending the parameters in the same URL that will call the list. e.g.: (to consult the INTE news having a date greater than: 3/1/2003) index.php?date=20030301&scm_date=gt
2.- by sending the filter parameters using a form:
3.- setting the parameters on the same list page. e.g:
< ?php
$_REQUEST['date'] = '2003-03-01';
$_REQUEST['scm_date'] = 'gt';
# Configuration
$uid = '123412341234123412341234';
$NewsListLanguage='2';
$NewsListNumItems='3';
$NewsListNumLinks='5';
include_once('genb/Cnews.inc');
## new class news list
$news_list = new Cnews($uid,$NewsListLanguage,$NewsListNumItems,$NewsListNumLinks);
? >
< HTML>
< HEAD>
...
...
|