UpdateFrontendHook
class UpdateFrontendHook extends BaseHook implements FrontendBackgroundUpdateInterface
Class xm_messenger_update_frontend_hook
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
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 true if this hook is available otherwise false.
This method returns an array that contains information which will be processed on client side as json object. The optional first parameter can contain client side created data which can be used to process the request.
Details
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
BaseHook at line 88
getObject()
No description
at line 18
bool
isAvailable()
Returns true if this hook is available otherwise false.
at line 31
array
response(array $data = [])
This method returns an array that contains information which will be processed on client side as json object. The optional first parameter can contain client side created data which can be used to process the request.