Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
FactivaEngine Class Reference
Inheritance diagram for FactivaEngine:
searchEngine

Public Member Functions

 __construct ($newsConfig)
 listArticles ($query)
 getArticle ($article_id)
 newsSection ($flavour, $filtering, $flavour_query)
 multiAjaxSearch ($query, $from, $count, $startDate=null, $endDate=null)

Detailed Description

Base class for fetching the news results from the Factiva engine

Author:
Cosmin Popescu

Constructor & Destructor Documentation

__construct ( newsConfig)

Constructs the object

Parameters:
array$newsConfigThe news configuration array public
Returns:
void

Reimplemented from searchEngine.


Member Function Documentation

getArticle ( article_id)

Gets a specific article

Parameters:
string$article_idThe article identifier public
Returns:
tariqaFullDocument

Reimplemented from searchEngine.

listArticles ( query)

Fetches a list of articles

Parameters:
newsQuery$queryThe query public
Returns:
tariqaSearchResultSet

Reimplemented from searchEngine.

multiAjaxSearch ( query,
from,
count,
startDate = null,
endDate = null 
) [abstract]

Gets the multi ajax search object

Parameters:
string$queryThe query string
int$fromThe first result to display
int$countThe number of results to display
DateTime$startDateThe start date [OPTIONAL]
DateTime$endDateThe end date [OPTIONAL] public
Returns:
multiAjaxSearch

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.

Parameters:
Flavour$flavourThe flavour
array$filteringThe filtering data
Query$flavour_queryThe flavour current query public
Returns:
multiAjaxSearch

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