Return the criteria based on the postvarse used for storing
API Tags:
Redefined in descendants as:
void forgetCriteria(
String
$name
)
|
|
Remove search criteria.
Parameters:
|
String |
$name: |
name of the search criteria |
String getForgetCriteria(
String
$current
)
|
|
Returns a link for removing the currently selected criteria. If nothing (valid) is selected nothing is returned.
Parameters:
|
String |
$current: |
currently loaded criteria |
API Tags:
String getLoadCriteria(
String
$current
)
|
|
Returns a select list of loadable criteria which will on-selection refresh the smart search page with the loaded criteria.
Parameters:
|
String |
$current: |
The current load criteria |
API Tags:
| Return: | criteria load HTML |
void getSaveCriteria(
String
$current, String
1
)
|
|
Returns a textfield for entering a name to save the search criteria as.
Parameters:
|
String |
$current: |
currently loaded criteria |
|
String |
1: |
textfield HTML |
array getSavedCriteria(
string
$current
)
|
|
Returns an array with all the saved criteria information. This information will be parsed to the different
Parameters:
string getSearchHandlerType(
)
|
|
Return the type of the atkSmartSearchHandler
checkbox getToggleSaveCriteria(
)
|
|
Returns a checkbox for enabling/disabling the saving of criteria.
API Tags:
string handleSavedCriteria(
array
$criteria
)
|
|
Take the necessary 'saved criteria' actions based on the posted variables.
Returns the name of the saved criteria
Parameters:
|
array |
$criteria: |
array with the current criteria |
API Tags:
| Return: | name of the saved criteria |
Array loadBaseCriteria(
)
|
|
Load base criteria.
API Tags:
Array loadCriteria(
String
$name
)
|
|
Load search criteria.
Parameters:
|
String |
$name: |
name of the search criteria |
API Tags:
void saveCriteria(
String
$name, Array
$criteria
)
|
|
Save search criteria.
NOTE: This method will overwrite existing criteria with the same name.
Parameters:
|
String |
$name: |
name for the search criteria |
|
Array |
$criteria: |
search criteria data |
check if database table exists
API Tags: