Webservice
class Webservice extends Service
Properties
| xm_system_xelos_app | $mod | ||
| 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 |
| protected bool | $isInternal |
Methods
Checks if a callback is defined on the Method and calls it.
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 callback of a method if it is defined.
get config Set
Load Access URL for XELOS App NOTE: This is only being used by the APP to get the current links / stati. The menu items themself are being defined in the info() webservice call above
No description
Register push client
Return your defined methods.
Unregister push client
Details
in
Service at line 127
mixed
__call(string $name, array $arguments = [])
Checks if a callback is defined on the Method and calls it.
in
Service at line 238
static protected Method
createMethod(string $methodName)
Create new service method
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
Service at line 222
string
getJsonRpcResponse(array|object $data, int $requestId = null)
No description
in
Service at line 154
Method|null
getMethod(string $name)
Get Service Method
in
Service at line 143
callable|null
getMethodCallback(string $name)
Returns the callback of a method if it is defined.
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 397
string
get_config()
get config Set
in
Service at line 182
get_service_description()
Returns the registered webservice methods.
at line 325
array
get_tabs()
Load Access URL for XELOS App NOTE: This is only being used by the APP to get the current links / stati. The menu items themself are being defined in the info() webservice call above
in
Service at line 167
init()
Initialization after construction with access to $this->mod
in
Service at line 213
bool
isAvailable()
Returns true if this hook is available otherwise false.
in
Service at line 245
bool
isInternal()
No description
at line 362
string
login($button = 'home')
No description
at line 230
bool
register(string $uuid, string $type = 'ios', bool $appversion = false, bool $pushid = false)
Register push client
at line 42
array
setupMethods()
Return your defined methods.
at line 300
bool
unregister(string $uuid, int|string $userId = null)
Unregister push client