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

Public Member Functions

 __construct ($config)
 results ($tpl, $get_searches=false)
 initHelp ($id, $title, $text)
 getPageContent ()
 onInitialize ()
 canProcessRequest ()
 getName ()
 getTitle ()
 getDescription ()
 getLink ()
 getBreadCrumb ()

Static Public Member Functions

static getDateRestrictions ($template_file, $radio_name, $select_name, $from_name, $to_name, $translationTable)

Data Fields

const QUICK_SEARCH = 0
const ADVANCED_SEARCH = 1
const FULL_SEARCH = 2
const RESULTS = 3

Constructor & Destructor Documentation

__construct ( config)

Construct the Module object

Parameters:
array$configThe multidimentionnal array containing the application's configuration

Reimplemented from tariqa3ModuleSectionManager.


Member Function Documentation

Process all requests (this is the default module)

Reimplemented from mModule.

Return the items of the current breadcrumb path

Returns:
tariqa3ModuleDescriptor[]

Reimplemented from tariqa3Module.

static getDateRestrictions ( template_file,
radio_name,
select_name,
from_name,
to_name,
translationTable 
) [static]

Gets the date restrictions

Parameters:
string$template_fileThe template file
string$radio_nameThe name of the radio checkbox
string$select_nameThe select name
string$from_nameThe from textbox name
string$to_nameThe to textbox name
array$translationTableThe translation matrix public
Returns:
string

Returns the description of the page public

Returns:
string

Reimplemented from tariqa3Module.

getLink ( )

Gets the link of the module public

Returns:
string

Reimplemented from tariqa3Module.

getName ( )

Returns the name of the class (what it should appear in the menu public

Returns:
string

Reimplemented from tariqa3Module.

Render the module

Returns:
string

Reimplemented from tariqa3Module.

getTitle ( )

Returns the title of the page public

Returns:
string

Reimplemented from tariqa3Module.

initHelp ( id,
title,
text 
)

Init's the help

Parameters:
string$idThe div identifier
string$titleThe dialog title
string$textThe help text public
Returns:
string

Initializes the module public

Returns:
void

Reimplemented from tariqa3Module.

results ( tpl,
get_searches = false 
)

Renders the search results page

Parameters:
mTemplate$tplThe template object
boolean$get_searchesIf true, then return the multiAjaxSearch objects public
Returns:
string

Field Documentation

const ADVANCED_SEARCH = 1
const FULL_SEARCH = 2
const QUICK_SEARCH = 0
const RESULTS = 3

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