Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
FullAggregators Class Reference
Inheritance diagram for FullAggregators:
FullSearch tariqa3ModuleSection tariqa3Module baseModule_RELEX_TARIQANG BaseModuleWithAuthenticationAndLanguages BaseModuleWithAuthentication BaseModule mModule

Public Member Functions

 __construct ($config, $parentBase, $section_id, $translationTable, $moduleName, $newsConfig, $idx)
 renderSearch ($tpl)

Static Public Member Functions

static searchFeed ($user, $term, $engine_id, $json=true)

Data Fields

const RSS = 'RSS_aggregator'
const LATESTNEWS = 'LatestNews_aggregator'

Constructor & Destructor Documentation

__construct ( config,
parentBase,
section_id,
translationTable,
moduleName,
newsConfig,
idx 
)

Constructs the object

Parameters:
array$configThe configuration array
string$parentBasebase_folder of the container class
string$section_idThe section identifier
array$translationTableThe translation table
string$moduleNameThe name of the module in which the form is displayed
array$newsConfigThe news configuration array
int$idxThe index of the form public
Returns:
void

Reimplemented from FullSearch.


Member Function Documentation

renderSearch ( tpl)

Render the module

Parameters:
MTemplate$tplThe template
Returns:
string

Reimplemented from FullSearch.

static searchFeed ( user,
term,
engine_id,
json = true 
) [static]

Searches for RSS or LatestNews aggregated feeds

Parameters:
tariqaUser$userThe user which is performing the search
string$termstring The term to search for
string$engine_idThe engine of the aggregator (latest news or rss)
boolean$jsonIf set to true, then return the result as json encoded [OPTIONAL] public
Returns:
string

Field Documentation

const LATESTNEWS = 'LatestNews_aggregator'
const RSS = 'RSS_aggregator'

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