BLUE DRAGON PHP SDK
|
Public Member Functions | |
__construct ( $in_server_uri, $in_server_secret, $in_username=NULL, $in_password=NULL, $in_login_timeout=0) | |
__destruct () | |
set_lang ( $in_lang) | |
login ( $in_username, $in_password, $in_login_timeout=-1) | |
logout () | |
get_error () | |
set_error ( $in_code) | |
clear_error () | |
valid () | |
force_reload () | |
is_logged_in () | |
is_manager () | |
is_main_admin () | |
current_login_id () | |
current_login_id_string () | |
current_login_object () | |
login_time_left () | |
my_info () | |
my_tokens () | |
plugins () | |
change_my_password_to ( $in_new_password) | |
fetch_data ( $in_plugin_path, $in_query_args=NULL) | |
put_data ( $in_plugin_path, $in_query_args, $in_data_object=NULL) | |
post_data ( $in_plugin_path, $in_query_args=NULL, $in_data_object=NULL) | |
delete_data ( $in_plugin_path) | |
get_objects () | |
get_user_info ( $in_user_id) | |
get_login_info ( $in_login_id) | |
get_place_info ( $in_place_id) | |
get_thing_info ( $in_thing_id) | |
general_search ( $in_text_array=[], $in_location=NULL, $in_writeable=false) | |
people_search ( $in_text_array=[], $in_location=NULL, $in_get_logins_only=false, $in_writeable=false) | |
places_search ( $in_text_array=[], $in_location=NULL, $in_writeable=false) | |
things_search ( $in_text_array=[], $in_location=NULL, $in_writeable=false) | |
general_location_search ( $in_location) | |
people_location_search ( $in_location, $in_get_logins_only=false) | |
place_location_search ( $in_location) | |
thing_location_search ( $in_location) | |
auto_radius_search ( $in_center_point, $in_target_number=10, $in_search_type='all', $in_search_string_criteria=NULL, $in_step_size_in_km=0.5, $in_max_width_in_km=100, $step_callback=NULL) | |
bulk_upload ( $in_csv_data) | |
backup () | |
get_serverinfo () | |
test_visibility ( $in_id, $in_is_token=false) | |
new_user ( $in_user_name, $in_tokens, $in_login_id=NULL) | |
new_place ( $in_place_name, $in_tokens=[], $in_latitude=NULL, $in_longitude=NULL, $in_fuzz_factor=NULL) | |
new_thing ( $in_thing_key, $in_thing_value, $in_tokens=[], $in_thing_name=NULL, $in_thing_description=NULL) | |
delete_user ( $in_object) | |
delete_place ( $in_object) | |
delete_thing ( $in_object) | |
Protected Member Functions | |
_call_REST_API ( $method, $url_extension, $data_input=NULL, $display_log=false) | |
_decode_handlers ( $in_handlers) | |
_load_localizations () | |
_get_my_info () | |
_get_plugins () | |
_set_up_login_info () | |
Static Protected Member Functions | |
static | _get_string_match_table () |
static | _get_tag_match ( $in_string) |
Protected Attributes | |
$_server_uri | |
This is the URI of the BAOBAB server. | |
$_sdk_lang | |
The language specified for this SDK instance. Default is "en" (English). | |
$_server_secret | |
This is the "server secret" that is specified by the admin of the BAOBAB server. | |
$_api_key | |
This is the current session API key. | |
$_login_timeout | |
The actual timeout value that was originally passed in. | |
$_login_time_limit | |
If >0, then this is the maximum time at which the current login is valid. | |
$_error | |
This is supposed to be NULL. However, if we have an error, it will contain an integer code. | |
$_my_login_info | |
This will contain any login information for the current login (NULL if not logged in). | |
$_my_user_info | |
This will contain any login information for the current login (NULL if not logged in). | |
$_last_response_code | |
This will contain any response code from the last cURL call. | |
$_available_plugins | |
This will be an array of string, with available plugins on the server. | |
$_localizations | |
An array of string, with the available localizations. The first will always be the default localization. | |
$_localized_errors | |
This will be an associative array, with the loaded RVP_Local_Error_* instances for display of error messages. | |
This is the central SDK class for connecting a PHP application to a BAOBAB server.
Upon instantiation, a valid server base URI and secret need to be provided.
Optionally, you can also provide login credentials.
This object should be used to manage all connections to the server.
Definition at line 43 of file rvp_php_sdk.class.php.
__construct | ( | $in_server_uri, | |
$in_server_secret, | |||
$in_username = NULL , |
|||
$in_password = NULL , |
|||
$in_login_timeout = 0 |
|||
) |
The basic constructor, which includes a validity test and a possible login.
$in_server_uri | REQUIRED: The URI of the BAOBAB Server |
$in_server_secret | REQUIRED: The "server secret" for the BAOBAB Server. |
$in_username | OPTIONAL: The Login Username, if we are doing an immediate login. |
$in_password | OPTIONAL: The password, if we are doing an immediate login. |
$in_login_timeout | OPTIONAL/REQUIRED: The login timeout, in seconds (integer). This must be provided if there is a login/password. |
Definition at line 504 of file rvp_php_sdk.class.php.
__destruct | ( | ) |
The basic destructor. We make sure that we log out.
Definition at line 534 of file rvp_php_sdk.class.php.
|
staticprotected |
Definition at line 65 of file rvp_php_sdk.class.php.
|
staticprotected |
$in_string | REQUIRED: The name of the field that is to be translated to a tag. |
Definition at line 104 of file rvp_php_sdk.class.php.
|
protected |
This is the function that is used by the SDK to make REST calls to the BAOBAB server.
$method | REQUIRED: This is the method to call. It should be one of:
|
$url_extension | REQIRED: This is the query section of the URL for the call. It can be empty, but you probably won't get much, if it is. |
$data_input | OPTIONAL: Default is NULL. This is an associative array, containing a collection of data, and a MIME type ("data" and "type") to data to be uploaded to the server, along with the URL. This will be Base64-encoded, so it is not necessary for it to be already encoded. |
$display_log | OPTIONAL: Default is false. If true, then the function will echo detailed debug information. |
Definition at line 125 of file rvp_php_sdk.class.php.
|
protected |
$in_handlers | REQUIRED: An associative array ('people' => array of int, 'places' => array of int, 'things' => array of int), with lists of IDs for various resources. |
Definition at line 296 of file rvp_php_sdk.class.php.
|
protected |
This loads the localization objects for this instance.
Definition at line 363 of file rvp_php_sdk.class.php.
|
protected |
Definition at line 389 of file rvp_php_sdk.class.php.
|
protected |
Definition at line 428 of file rvp_php_sdk.class.php.
|
protected |
This sets up the internal "my info" objects.
Definition at line 452 of file rvp_php_sdk.class.php.
set_lang | ( | $in_lang | ) |
This simply sets the SDK language, and also reloads the localizations.
$in_lang | REQUIRED: The lang code to set as the default for the SDK instance. |
Definition at line 542 of file rvp_php_sdk.class.php.
login | ( | $in_username, | |
$in_password, | |||
$in_login_timeout = -1 |
|||
) |
This executes a login to the server.
Upon successful login, the "my_info" queries are made to the login, and, if applicable, the user.
$in_username | REQUIRED: The Login Username |
$in_password | REQUIRED: The password. |
$in_login_timeout | OPTIONAL: If we have a known login timeout, we provide it here. Default is -1 (no timeout). |
Definition at line 557 of file rvp_php_sdk.class.php.
logout | ( | ) |
Logs the current user out, and resets the object to a "connection-only" state.
Definition at line 588 of file rvp_php_sdk.class.php.
get_error | ( | ) |
Definition at line 616 of file rvp_php_sdk.class.php.
set_error | ( | $in_code | ) |
Sets the internal error code.
$in_code | REQUIRED: This is an integer error code. It can be NULL or 0 to clear the error. |
Definition at line 633 of file rvp_php_sdk.class.php.
clear_error | ( | ) |
valid | ( | ) |
Definition at line 650 of file rvp_php_sdk.class.php.
is_logged_in | ( | ) |
is_manager | ( | ) |
Definition at line 673 of file rvp_php_sdk.class.php.
is_main_admin | ( | ) |
Definition at line 685 of file rvp_php_sdk.class.php.
current_login_id | ( | ) |
Definition at line 697 of file rvp_php_sdk.class.php.
current_login_id_string | ( | ) |
Definition at line 709 of file rvp_php_sdk.class.php.
current_login_object | ( | ) |
Definition at line 721 of file rvp_php_sdk.class.php.
login_time_left | ( | ) |
If we logged in with a known time limit, we report how mucg time we have left.
Definition at line 737 of file rvp_php_sdk.class.php.
my_info | ( | ) |
Definition at line 749 of file rvp_php_sdk.class.php.
my_tokens | ( | ) |
Definition at line 767 of file rvp_php_sdk.class.php.
plugins | ( | ) |
Definition at line 780 of file rvp_php_sdk.class.php.
change_my_password_to | ( | $in_new_password | ) |
Allows a logged-in user to change their password. The "God" user cannot change their password. This will re-log in after changing the password (which logs you out).
$in_new_password | REQUIRED: The new password, in cleartext. It must be at least the minimum password length |
Definition at line 798 of file rvp_php_sdk.class.php.
fetch_data | ( | $in_plugin_path, | |
$in_query_args = NULL |
|||
) |
This method will initiate and complete a data GET connection to the server. It takes care of any authentication.
$in_plugin_path | REQUIRED: The plugin path to append to the base URI. This is a string. |
$in_query_args | OPTIONAL: Any query arguments to be attached after a question mark. This is a string. |
Definition at line 843 of file rvp_php_sdk.class.php.
put_data | ( | $in_plugin_path, | |
$in_query_args, | |||
$in_data_object = NULL |
|||
) |
This method will initiate and complete a data PUT connection to the server. It takes care of any authentication. You must be logged in to perform this operation.
$in_plugin_path | REQUIRED: The plugin path to append to the base URI. This is a string, and should include the resource designation. |
$in_query_args | REQUIRED: Any query arguments to be attached after a question mark. This is a string. |
$in_data_object | OPTIONAL: If supplied, this will be attached payload data. It should not be base64-encoded. |
Definition at line 862 of file rvp_php_sdk.class.php.
post_data | ( | $in_plugin_path, | |
$in_query_args = NULL , |
|||
$in_data_object = NULL |
|||
) |
This method will initiate and complete a data POST connection to the server. It takes care of any authentication. You must be logged in to perform this operation. You cannot select a resource for this. The plugin should be specified.
$in_plugin_path | REQUIRED: The plugin path to append to the base URI. This is a string, and should NOT include any resource designation. |
$in_query_args | OPTIONAL: Any query arguments to be attached after a question mark. This is a string. |
$in_data_object | OPTIONAL: If supplied, this will be attached payload data. It should not be base64-encoded. |
Definition at line 888 of file rvp_php_sdk.class.php.
delete_data | ( | $in_plugin_path | ) |
This method will initiate and complete a data DELETE connection to the server. It takes care of any authentication. You must be logged in to perform this operation.
$in_plugin_path | REQUIRED: The plugin path to append to the base URI. This is a string, and should include the resource designation. |
Definition at line 916 of file rvp_php_sdk.class.php.
get_objects | ( | ) |
This requires an array of integers be passed in. These are IDs of the objects that you want to fetch.
You can pass the IDs as a simple integer array in a single parameter.
Definition at line 939 of file rvp_php_sdk.class.php.
get_user_info | ( | $in_user_id | ) |
$in_user_id | REQUIRED: The integer ID of the user we want to examine. If we don't have rights to the user, or the user does not exist, we get nothing. |
Definition at line 991 of file rvp_php_sdk.class.php.
get_login_info | ( | $in_login_id | ) |
$in_login_id | REQUIRED: The integer ID of the login we want to examine. If we don't have rights to the login, or the login does not exist, we get nothing. |
Definition at line 1018 of file rvp_php_sdk.class.php.
get_place_info | ( | $in_place_id | ) |
$in_place_id | REQUIRED: The integer ID of the place we want to examine. If we don't have rights to the place, or the place does not exist, we get nothing. |
Definition at line 1045 of file rvp_php_sdk.class.php.
get_thing_info | ( | $in_thing_id | ) |
$in_thing_id | REQUIRED: The integer ID, or string key, of the thing we want to examine. If we don't have rights to the thing, or the thing does not exist, we get nothing. |
Definition at line 1070 of file rvp_php_sdk.class.php.
general_search | ( | $in_text_array = [] , |
|
$in_location = NULL , |
|||
$in_writeable = false |
|||
) |
This is a baseline plugin text search.
The searched columns are the "object_name" column, or tags 0-9.
$in_text_array | OPTIONAL: An associative array, laying out which text fields to search, and the search text. The key is the name of the field to search, and the value is the text to search for. You can use SQL-style wildcards (%). Available keys:
|
$in_location | OPTIONAL: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
$in_writeable | OPTIONAL: If true, then only places the current login can edit are returned. Ignored if not logged in. |
Definition at line 1098 of file rvp_php_sdk.class.php.
people_search | ( | $in_text_array = [] , |
|
$in_location = NULL , |
|||
$in_get_logins_only = false , |
|||
$in_writeable = false |
|||
) |
This is a people plugin text search.
The searched columns are the "object_name" column, or tags 0-9 (since this is a fixed-purpose plugin, these will be accessed by name, not tag name).
$in_text_array | OPTIONAL: An associative array, laying out which text fields to search, and the search text. The key is the name of the field to search, and the value is the text to search for. You can use SQL-style wildcards (%). Available keys:
|
$in_location | OPTIONAL: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
$in_get_logins_only | OPTIONAL: If true (Default is false), then only login objects associated with the user objects that fall within the search will be returned. |
$in_writeable | OPTIONAL: If true, then only places the current login can edit are returned. Ignored if not logged in. |
Definition at line 1163 of file rvp_php_sdk.class.php.
places_search | ( | $in_text_array = [] , |
|
$in_location = NULL , |
|||
$in_writeable = false |
|||
) |
This is a places plugin text search.
The searched columns are the "object_name" column, or tags 0-9 (since this is a fixed-purpose plugin, these will be accessed by name, not tag name).
$in_text_array | OPTIONAL: An associative array, laying out which text fields to search, and the search text. The key is the name of the field to search, and the value is the text to search for. You can use SQL-style wildcards (%). Available keys:
|
$in_location | OPTIONAL: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
$in_writeable | OPTIONAL: If true, then only places the current login can edit are returned. Ignored if not logged in. |
Definition at line 1263 of file rvp_php_sdk.class.php.
things_search | ( | $in_text_array = [] , |
|
$in_location = NULL , |
|||
$in_writeable = false |
|||
) |
This is a things plugin text search.
The searched columns are the "object_name" column, or tags 0-9 (since this is a fixed-purpose plugin, a couple of these will be accessed by name, not tag name).
$in_text_array | OPTIONAL: An associative array, laying out which text fields to search, and the search text. The key is the name of the field to search, and the value is the text to search for. You can use SQL-style wildcards (%). Available keys:
|
$in_location | OPTIONAL: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
$in_writeable | OPTIONAL: If true, then only places the current login can edit are returned. Ignored if not logged in. |
Definition at line 1346 of file rvp_php_sdk.class.php.
general_location_search | ( | $in_location | ) |
$in_location | REQUIRED: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
Definition at line 1417 of file rvp_php_sdk.class.php.
people_location_search | ( | $in_location, | |
$in_get_logins_only = false |
|||
) |
$in_location | REQUIRED: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
$in_get_logins_only | OPTIONAL: If true (Default is false), then only login objects associated with the user objects that fall within the search will be returned. |
Definition at line 1426 of file rvp_php_sdk.class.php.
place_location_search | ( | $in_location | ) |
$in_location | REQUIRED: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
Definition at line 1436 of file rvp_php_sdk.class.php.
thing_location_search | ( | $in_location | ) |
$in_location | REQUIRED: An associative array ('latitude' => float, 'longitude' => float, 'radius' => float), with the long/lat (in degrees), and the radius of the location search (in Kilometers). |
Definition at line 1445 of file rvp_php_sdk.class.php.
auto_radius_search | ( | $in_center_point, | |
$in_target_number = 10 , |
|||
$in_search_type = 'all' , |
|||
$in_search_string_criteria = NULL , |
|||
$in_step_size_in_km = 0.5 , |
|||
$in_max_width_in_km = 100 , |
|||
$step_callback = NULL |
|||
) |
This is an "auto-radius" search. The way that it works, is that you specify a center point, and any search criteria. You specify the minimum number of resources that you want to find, what types of resources you want, any string filters, as well as the search step size and maximum (give up) radius. This can be a lengthy process. The way it works, is that successive radius search queries are made, using the filters and types, until AT LEAST the number of requested results are returned. Each successive search widens the radius by the step size. The first radius is one step size, and the last radius is the width of the "give up" threshold, or less, if the last step was beyond the threshold.
$in_center_point | REQUIRED: This is the starting (center) point of the auto-radius search. It is an associative array ('longitude' => float, 'latitude' => float). |
$in_target_number | OPTIONAL: An integer. The minimum number of resources to find. Default is 10. |
$in_search_type | OPTIONAL: The type of search. It can be:
|
$in_search_string_criteria | OPTIONAL: This is an associative array (keys are field names, and values are what you are looking for. You can use SQL-style wildcards "%"). |
$in_step_size_in_km | OPTIONAL: This is the size of steps that we will take in the search. Default is 0.5 km (500m). |
$in_max_width_in_km | OPTIONAL: The maximum radius in kilometers. Default is 100km. |
$step_callback | OPTIONAL: This is a lmbda/closure/callback function that you provide, and will be called after each step, with the current results. This can either be a global-scope function, or an array, with the first element being an object instance, and the second element being the name of the method. The signature for the function/method is: function callback( $in_sdk_instance, // The SDK instance (this) $in_results, // The current results array (of instances). $in_type, // The search type ('all', 'users', 'logins, 'places', 'things'). $in_target_number, // This is the number of results (minimum) that will satisfy the search. $in_step_size, // The step size, in kilometers. $in_max_radius, // The maximum radius for the search, in kilometers. $in_location, // The current location (associative array ['latitude' => float, 'longitude' => float, 'radius' => float]). $in_search_criteria // An associative array with teh current text filter search criteria. ); The function should return either true, or false. If it returns true, then the search should be stopped at that point, and the current results returned. |
Definition at line 1461 of file rvp_php_sdk.class.php.
bulk_upload | ( | $in_csv_data | ) |
This is the "bulk-import" for the BAOBAB server. It requires that the API key be for a "God" admin, and that the CO_Config::$enable_bulk_upload flag be set to true on the server.
You supply a CSV file, in the following format:
id,api_key,login_id,access_class,last_access,read_security_id,write_security_id,object_name,access_class_context,owner,longitude,latitude,tag0,tag1,tag2,tag3,tag4,tag5,tag6,tag7,tag8,tag9,ids,payload
Depending on the class in the 'access_class' column, either the security or data databes will be affected by a given row. Note that columns correspond to BOTH databases, so some columns will be ignored.
If you put 'NULL' in as a column value, that will be translated to NULL in the database.
$in_csv_data | REQUIRED: This is the CSV content (in our required schema) to be uploaded to the server. |
Definition at line 1554 of file rvp_php_sdk.class.php.
backup | ( | ) |
This method is only available to "God" logins. It fetches the entire database as a CSV string.
Definition at line 1570 of file rvp_php_sdk.class.php.
get_serverinfo | ( | ) |
This method is only available to "God" logins. It fetches the server information structure.
Definition at line 1585 of file rvp_php_sdk.class.php.
test_visibility | ( | $in_id, | |
$in_is_token = false |
|||
) |
This is a test of resource IDs or security tokens. It returns Login IDs (security DB), not User IDs (data DB). You give it the ID of a resource (data DB), and what you get back is a list of the login IDs that can see that resource, and those that can modify it (each is listed in a separate array). If you set the second (optional) parameter to true, then the ID that you send in is interpreted as a security token, and the response contains the IDs of logins that have that token. It should be noted that only login IDs that the current user can see will be returned. Additionally, the current user must have at least read permission for any resource ID, and must have access to the token.
$in_id | REQUIRED: The ID or token to test. This is an integer. This should be 1 or greater (for tokens), or 2 or greater (for IDs). |
$in_is_token | OPTIONAL: If true (Default is false), then the ID is actually a security token. |
Definition at line 1607 of file rvp_php_sdk.class.php.
new_user | ( | $in_user_name, | |
$in_tokens, | |||
$in_login_id = NULL |
|||
) |
This requires that the current login be a manager. This creates one user people object, and, possibly, an associated login. NOTE: The login ID and password are returned as part of the response, but the password is not included in the new user object. If not retained after this call, the password will be lost.
$in_user_name | REQUIRED: The name of the user object (not one of the tag names) |
$in_tokens | REQUIRED: An associative array, ['read' => integer, 'write' => integer, 'tokens' => [integer]]
|
$in_login_id | /< OPTIONAL: This is a string, with a requested login ID. If supplied, then a new login will be created, along with the user. The login ID must be a unique string in the security DB, and the operation will fail, if a login ID is supplied, but is already in use. A random password will be generated, and returned in the function return object. |
Definition at line 1657 of file rvp_php_sdk.class.php.
new_place | ( | $in_place_name, | |
$in_tokens = [] , |
|||
$in_latitude = NULL , |
|||
$in_longitude = NULL , |
|||
$in_fuzz_factor = NULL |
|||
) |
This creates a new, blank place object. The user must be logged in (being a manager is not required), and you can optionally assign a longitude/latitude location. BOTH longitude and latitude must be supplied in order to assign any value to either. You can also supply a "fuzz factor" immediately. The response will have a read token of 0 (everyone can read), and a write token of the ID of the creating login.
$in_place_name | REQUIRED: A general name for the place (different from the venue name). |
$in_tokens | OPTIONAL: Default is an empty array. An associative array, ['read' => integer, 'write' => integer]
|
$in_latitude | OPTIONAL: Default is NULL. If supplied, should be a floating-point value, in degrees latitude, of the place location. Must be supplied with valid $in_longitude value. |
$in_longitude | OPTIONAL: Default is NULL. If supplied, should be a floating-point value, in degrees longitude, of the place location. Must be supplied with valid $in_latitude value. |
$in_fuzz_factor | OPTIONAL: Default is NULL. If supplied, should contain a floating-point number, with a "fuzz factor" distance, in Kilometers. |
Definition at line 1756 of file rvp_php_sdk.class.php.
new_thing | ( | $in_thing_key, | |
$in_thing_value, | |||
$in_tokens = [] , |
|||
$in_thing_name = NULL , |
|||
$in_thing_description = NULL |
|||
) |
This creates a new, blank thing object. The user must be logged in (being a manager is not required).
$in_thing_key | REQUIRED: A key for the thing (must be a unique key). If this is not completely unique in the server, the operation will fail. |
$in_thing_value | REQUIRED: This is a binary value to be associated with the thing. |
$in_tokens | OPTIONAL: Default is an empty array. An associative array, ['read' => integer, 'write' => integer]
|
$in_thing_name | OPTIONAL: Default is NULL. If supplied, will be a general name for the thing. |
$in_thing_description | OPTIONAL: Default is NULL. If supplied, this should be a string up to 255 characters long, describing the thing. |
Definition at line 1822 of file rvp_php_sdk.class.php.
delete_user | ( | $in_object | ) |
Deletes a user and associated login. The caller must be a manager or main admin.
$in_object | REQUIRED: This can be a user object, a login object, or an integer (user ID). If a user object, and if that object has an associated login, then both objects will be deleted. If a login object, then only the login will be deleted. An integer ID will always be considered to be a user object ID. |
Definition at line 1899 of file rvp_php_sdk.class.php.
delete_place | ( | $in_object | ) |
Deletes a place object.
$in_object | REQUIRED: This can be a place object, or an integer (place ID). |
Definition at line 1973 of file rvp_php_sdk.class.php.
delete_thing | ( | $in_object | ) |
Deletes a thing object.
$in_object | REQUIRED: This can be a thing object, a string (key), or an integer (thing ID). |
Definition at line 2018 of file rvp_php_sdk.class.php.