SearchIntegration
abstract class SearchIntegration extends BaseHook
Abstract Class for Search Adapters
Properties
| Controller | $mod | Instance providing the hook |
from BaseHook |
| array | $_hook_info | Hook Information "id" => "4914" "instance_id" => "api_microsoft" "name" => "oauth_client" "hook" => "webservice.oauth_client" "type" => "object" "registry_name" => "oauth_client" "function_name" => "" "internal" => "no" "dep_mode" => "local" "active" => "yes" "title" => "Basic functions" "description" => "" "options" => "" |
from BaseHook |
Methods
Gets the maximum available hits count for this search-term
Search for "Documents"
Return facets for the search sidebar.
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
Returns the min length of a single search word
No description
We assume, that this hook is available per default.
Details
at line 35
abstract int
getDocumentCountBySearch(string|null $searchterm, array $facetedSearchFilters = [])
Gets the maximum available hits count for this search-term
at line 23
abstract array
getDocumentsBySearch(string|null $searchterm, array $limit = [], array $facetedSearchFilters = [])
Search for "Documents"
at line 72
array
getFacetedFilters()
Return facets for the search sidebar.
in
BaseHook at line 76
string
getHookDescription()
No description
in
BaseHook at line 55
string
getHookIdentifier()
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
in
BaseHook at line 45
array
getHookInfoValue(bool $key = false)
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
in
BaseHook at line 69
string
getHookInstance()
No description
in
BaseHook at line 62
string
getHookName()
No description
in
BaseHook at line 83
string
getHookTitle()
No description
at line 40
abstract
getMinLength()
Returns the min length of a single search word
in
BaseHook at line 88
getObject()
No description
in
BaseHook at line 97
mixed
getOption(string $key)
Returns the option with $key set in the config.yml
at line 52
string
getTabTitle()
No description
at line 45
bool
isAvailable()
We assume, that this hook is available per default.