abstract class SearchMetaData extends BaseHook implements SearchMetaDataInterface

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

array|null
getAggregation()

No description

array
getFields()

No description

string
getHookDescription()

No description

from  BaseHook
string
getHookIdentifier()

Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name

from  BaseHook
array
getHookInfoValue(bool $key = false)

Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)

from  BaseHook
string
getHookInstance()

No description

from  BaseHook
string
getHookName()

No description

from  BaseHook
string
getHookTitle()

No description

from  BaseHook
array
getKeys()

No description

string
getLabelForKey(string $key)

No description

string
getLabelForValue(string $key, string $value)

No description

getObject()

No description

from  BaseHook
array
getSearchQuery(string $instanceId, string $key, string $value)

Returns the search query for the given key and value.

array
getValuesForKey(string $key, array $values, array $aggregation)

No description

bool
isAvailable()

No description

Details

at line 103
array|null getAggregation()

No description

Return Value

array|null

at line 15
abstract array getFields()

No description

Return Value

array

in BaseHook at line 76
string getHookDescription()

No description

Return Value

string

in BaseHook at line 55
string getHookIdentifier()

Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name

Return Value

string

in BaseHook at line 45
array getHookInfoValue(bool $key = false)

Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)

Parameters

bool $key

Return Value

array

in BaseHook at line 69
string getHookInstance()

No description

Return Value

string

in BaseHook at line 62
string getHookName()

No description

Return Value

string

in BaseHook at line 83
string getHookTitle()

No description

Return Value

string

at line 20
array getKeys()

No description

Return Value

array

at line 33
string getLabelForKey(string $key)

No description

Parameters

string $key

Return Value

string

at line 47
abstract string getLabelForValue(string $key, string $value)

No description

Parameters

string $key
string $value

Return Value

string

in BaseHook at line 88
getObject()

No description

at line 66
array getSearchQuery(string $instanceId, string $key, string $value)

Returns the search query for the given key and value.

The provided query uses term queries to provide exact matches of the selected value.

Parameters

string $instanceId
string $key
string $value

Return Value

array

at line 110
array getValuesForKey(string $key, array $values, array $aggregation)

No description

Parameters

string $key

Meta Data key

array $values

Distinct values stored in the index (TOP 10)

array $aggregation

If a custom aggregation is used, the result is returned.

Return Value

array

['value1' => 'count', 'value2' => 'count2', ...]

at line 52
bool isAvailable()

No description

Return Value

bool