Tariqa
3.0
|
Public Member Functions | |
__construct ($newsConfig) | |
listArticles ($query) | |
getArticle ($article_id) | |
multiAjaxSearch ($query, $from, $count, $startDate=null, $endDate=null) | |
newsSection ($flavour, $filtering, $flavour_query) | |
getSavePost ($query_txt, $query, $start_date=null, $end_date=null, $additional_parameters=array()) |
Base class for fetching the news results from the Google engine
__construct | ( | $ | newsConfig | ) |
Constructs the object
array | $newsConfig | The news configuration array public |
Reimplemented from searchEngine.
Reimplemented in GoogleBlogsEngine, GoogleImagesEngine, GoogleNewsEngine, GoogleVideoEngine, GoogleWebEngine, and RSSEngine.
getArticle | ( | $ | article_id | ) |
Gets a specific article
string | $article_id | The article identifier public |
Reimplemented from searchEngine.
getSavePost | ( | $ | query_txt, |
$ | query, | ||
$ | start_date = null , |
||
$ | end_date = null , |
||
$ | additional_parameters = array() |
||
) |
Gets the POST data used for saving a search in the briefcase
string | $query_txt | The query string text |
Query | $query | The query |
int | $start_date | The start date (unix timestamp) [OPTIONAL] |
int | $end_date | The end date (unix timestamp) [OPTIONAL] |
array | $additional_parameters | Additional parameters [OPTIONAL] public |
Reimplemented from searchEngine.
listArticles | ( | $ | query | ) |
Fetches a list of articles
newsQuery | $query | The query public |
Reimplemented from searchEngine.
Reimplemented in RSSEngine.
multiAjaxSearch | ( | $ | query, |
$ | from, | ||
$ | count, | ||
$ | startDate = null , |
||
$ | endDate = null |
||
) |
Gets the multi ajax search object
string | $query | The query string |
int | $from | The first result to display |
int | $count | The number of results to display |
DateTime | $startDate | The start date [OPTIONAL] |
DateTime | $endDate | The end date [OPTIONAL] public |
Reimplemented from searchEngine.
Reimplemented in RSSEngine.
newsSection | ( | $ | flavour, |
$ | filtering, | ||
$ | flavour_query | ||
) |
Gets the multi ajax search object for any page but the search page. For example country pages, home page, news wires page etc.
Flavour | $flavour | The flavour |
array | $filtering | The filtering data |
Query | $flavour_query | The flavour current query public |
Reimplemented in RSSEngine.