Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
newsQuery Class Reference

Public Member Functions

 __construct ($engine_id=null, $query=null, $start_date=null, $end_date=null, $first=null, $count=null, $specific_data=null)
 setDate ($start_date, $end_date)
 setRanges ($first, $count)

Data Fields

 $engine_id = null
 $query = null
 $specific_data = null
 $range = null
 $query_name = null
 $source_id
 $start_date
 $end_date
 $first
 $count

Constructor & Destructor Documentation

__construct ( engine_id = null,
query = null,
start_date = null,
end_date = null,
first = null,
count = null,
specific_data = null 
)

Constructs the object

Parameters:
int$engine_idThe engine identifier [OPTIONAL]
string$queryThe query string [OPTIONAL]
int$start_dateThe date from which to start the search (UNIX timestamp) [OPTIONAL]
int$end_dateThe date to which to end the search (UNIX timestamp) [OPTIONAL]
int$firstThe first article to fetch [OPTIONAL]
int$countThe number of articles to fetch [OPTIONAL]
string$specific_dataEngine specific data [OPTIONAL] public
Returns:
void

Member Function Documentation

setDate ( start_date,
end_date 
)

Sets the date range

Parameters:
int$start_dateThe start date (UNIX timestamp)
int$end_dateThe end date (UNIX timestamp) public
Returns:
void
setRanges ( first,
count 
)

Sets the results range

Parameters:
int$firstThe first article to fetch
int$countThe count of articles to fetch public
Returns:
void

Field Documentation

$count
$end_date
$engine_id = null
$first
$query = null
$query_name = null
$range = null
$source_id
$specific_data = null
$start_date

The documentation for this class was generated from the following file: