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 | $config | The configuration array |
string | $parentBase | base_folder of the container class |
string | $section_id | The section identifier |
array | $translationTable | The translation table |
string | $moduleName | The name of the module in which the form is displayed |
array | $newsConfig | The news configuration array |
int | $idx | The index of the form public |
- Returns:
- void
Reimplemented from FullSearch.
Member Function Documentation
Render the module
- Parameters:
-
MTemplate | $tpl | The template |
- Returns:
- string
Reimplemented from FullSearch.
static searchFeed |
( |
$ |
user, |
|
|
$ |
term, |
|
|
$ |
engine_id, |
|
|
$ |
json = true |
|
) |
| [static] |
Searches for RSS or LatestNews aggregated feeds
- Parameters:
-
tariqaUser | $user | The user which is performing the search |
string | $term | string The term to search for |
string | $engine_id | The engine of the aggregator (latest news or rss) |
boolean | $json | If set to true, then return the result as json encoded [OPTIONAL] public |
- Returns:
- string
Field Documentation
const RSS = 'RSS_aggregator' |
The documentation for this class was generated from the following file: