IPSymcon JSON API wrapper class.
More...
__construct |
( |
|
$url, |
|
|
|
$user, |
|
|
|
$password, |
|
|
|
$exception_flag = false |
|
) |
| |
Constructor.
- Parameters
-
string | $url | full url to reach ipsymcon json api service |
string | $user | IPSymcon License Username (e.g. Email) |
string | $password | IPSymcon "Fernzugriff/Remote Access"-Password |
boolean | $exception_flag | indicates if aan exception should occur |
- Exceptions
-
__call |
( |
|
$name, |
|
|
|
$arguments |
|
) |
| |
main function (class autoloader)
called if a method with a given name doesnt exist will catch method name and translate into api call
- Parameters
-
string | $name | method |
variant | $arguments | |
- Returns
- variant result of called function
- Exceptions
-
return $ips_vartypes
- Returns
- array
get script details
- Parameters
-
- Returns
- array Assoc Array mit Last Execution Time(last), ScriptName(name), FileName(file), Broken(is_broken)
retrieves IPS Variable details
- Parameters
-
- Returns
- array Assoc Array mit Value(value), Type(type), Name(name),Last Update(last), Suffix(suffix),Digits(digits) vom Profile
retrieves last error code
- Returns
- integer
retrieves last error message
- Returns
- string
retrieves last called method
- Returns
- String
check if an error occured
- Returns
- bool
setError |
( |
|
$message, |
|
|
|
$code |
|
) |
| |
|
private |
set error variable
- Parameters
-
String | $message | Error Message |
int | $code | Error Code |
array of String $exception_flag |
|
private |
should throw an Exception in case of error
IPS Variable Types.
matches IPS Variable API type return codes to API type field names ("ValueXYZ")
array of String $password |
|
private |
API Password (Fernzugriff Kennword)
last Error
$error=array('message'=>$message,'code'=>$code)
- Parameters
-
String | $message | |
Integer | $code | |
The documentation for this class was generated from the following file:
- E:/OneDrive/Dokumente/progs/ipsymcon/phpmodule/ipsymcon-phpmodule-by-Tommi/libs/Api/IPS_JSON.php