Tariqa
3.0
|
Public Member Functions | |
__construct ($newsConfig) | |
listArticles ($query) | |
getArticle ($article_id) | |
newsSection ($flavour, $filtering, $flavour_query) | |
multiAjaxSearch ($query, $from, $count, $startDate=null, $endDate=null) |
Base class for fetching the news results from the Factiva engine
__construct | ( | $ | newsConfig | ) |
Constructs the object
array | $newsConfig | The news configuration array public |
Reimplemented from searchEngine.
getArticle | ( | $ | article_id | ) |
Gets a specific article
string | $article_id | The article identifier public |
Reimplemented from searchEngine.
listArticles | ( | $ | query | ) |
Fetches a list of articles
newsQuery | $query | The query public |
Reimplemented from searchEngine.
multiAjaxSearch | ( | $ | query, |
$ | from, | ||
$ | count, | ||
$ | startDate = null , |
||
$ | endDate = null |
||
) | [abstract] |
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.
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 |