SearchMetaData
class SearchMetaData extends SearchMetaData
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
Custom aggregation to group the filesizes in < 1MB, 1-5MB and > 5MB buckets.
No description
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 custom labels for the filesize.
Uses the default search query for the file extension; adds a custom range query for the filesize.
Based on the custom aggregation adds the count of the different files sizes to the values.
Details
at line 218
array|null
getAggregation()
Custom aggregation to group the filesizes in < 1MB, 1-5MB and > 5MB buckets.
at line 15
array
getFields()
No description
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
in
SearchMetaData at line 20
array
getKeys()
No description
in
SearchMetaData at line 33
string
getLabelForKey(string $key)
No description
at line 32
string
getLabelForValue(string $key, string $value)
Returns custom labels for the filesize.
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 129
array
getSearchQuery(string $instanceId, string $key, string $value)
Uses the default search query for the file extension; adds a custom range query for the filesize.
at line 53
array
getValuesForKey(string $key, array $values, array $aggregation)
Based on the custom aggregation adds the count of the different files sizes to the values.
in
SearchMetaData at line 52
bool
isAvailable()
No description