ApiService
class ApiService extends Service
Class ApiService
Properties
ListsController | $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 |
Methods
Checks if a callback is defined on the Method and calls it.
Takes the list ID and a JSON encoded array, which holds all the fields the list item requires to be filled out (at least required fields should be passed).
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 Accessible Items from a specific list
Retrieve list of lists
No description
No description
Details
in
Service at line 124
mixed
__call(string $name, array $arguments)
Checks if a callback is defined on the Method and calls it.
at line 201
array
create_list_item(string $listId, array $listFields)
Takes the list ID and a JSON encoded array, which holds all the fields the list item requires to be filled out (at least required fields should be passed).
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 140
callable|null
getMethodCallback(string $name)
Returns the callback of a method if it is defined.
in
BaseHook at line 88
getObject()
No description
in
Service at line 168
get_service_description()
Returns the registered webservice methods.
in
Service at line 153
init()
Initialization after construction with access to $this->mod
in
Service at line 185
bool
isAvailable()
Returns true if this hook is available otherwise false.
at line 154
array
list_items($listId, int $start = 0, int $limit = 100)
Get Accessible Items from a specific list
at line 115
array
list_lists(string $query = null, int $start = 0, int $limit = 100)
Retrieve list of lists
at line 35
array
setupMethods()
No description
at line 234
array
update_list_item(string $listItemId, array $listFields)
No description