Functions
g8_stor_get_edit_prop_trans_id_basis¶
« More »
g8_stor_transaction_fetch_by_dept_catg¶
« More »
g8_show_lib_fbit_demo_row_period_Graph¶
« More »
g8_exec_cmd¶
This function is used to execute command using loid.
« More »
g8_mk_web¶
This function is used to execute command using loid.
« More »
g8_get_vox_cmd¶
Desc- This function is used for switch and turn command, set group commands,set device commands.
« More »
g8_return_alexa¶
Desc- This function speaks out the words
« More »
g8_alexa_end¶
Desc- This function ends the amazon session.
« More »
g8_mk_intent¶
Desc- This function returns the intent, that should be used in the amazon configuration.
« More »
g8_get_utterances¶
Desc- This function is used to get the uttered sounds for auditory communication
« More »
g8_mk_utterance¶
Desc- This function generates the uttarance file for the given device or all if device is missing
« More »
g8_vox_dev_duplicate¶
Desc- The function Device Id have duplicate vox name and empty value in "g8_dev_prop" table
« More »
g8_vox_grp_duplicate¶
Desc- The function Group Id have duplicate vox name and empty value in "g8_act_grp_prop" table
« More »
g8_vox_dev_validate¶
Desc- This function validates Device Id containing integer in Vox name value in "g8_dev_prop" table
« More »
g8_vox_grp_validate¶
Desc- This function validates Group Id containing integer in Vox name value in "g8_act_grp_prop" table
« More »
g8_is_session_started¶
Desc- This function checks whether the system has started or not.
« More »
g8_js_select_div¶
Desc- This function is used to select the js
« More »
g8_mk_set_param_sql¶
Desc- This function is used to set all parameters in g8_param_prop table.
« More »
g8_mk_get_param_sql¶
Desc- This function is used to get all parameters in g8_param_prop table.
« More »
g8_is_session_started¶
Desc- This function checks whether the system has started or not.
« More »
g8_set_amsh¶
LifeOn primary g8_set function
This function is used to set the status of the devices connected to amsh.
« More »
g8_set_mail¶
This function is used to send the mail
« More »
g8_edit_error¶
This function is used edit error
« More »
g8_amsh_add¶
This function is used to add new row in dev_prop table
« More »
g8_read_set_status¶
Desc- This function used to show the date and time of the specific activity performed on specific loid and parameter.
« More »
g8_delete_set_andycomm¶
Desc- This function is used to delete the entries of particular loid and parameter (param) and set index.php page as main page
« More »
g8_set_andy¶
Desc- This function set the andy devices according to param and values.
« More »
g8_set_notice¶
Desc- This function is used to set the key for sending the nortification.
« More »
g8_get_andy¶
Desc- This function gets the battery level from Andy
« More »
g8_andy_id¶
Desc- This function returns the autoremote key for the device with g8_lo_id
« More »
g8_register_device¶
Desc- This is for registering a device to RECEIVE incoming messages from Android
« More »
g8_read_andy_status¶
Desc- This function find entries in table and give the status of that device.
« More »
g8_delete_andycomm¶
Desc- This function clean up any entries in the table
« More »
g8_andy_demo¶
Desc- This function is to only show a demonstration of g8_andy plugin
« More »
g8_show_demo_row¶
Desc- This function shows one row in the andy demo file
« More »
g8_read_status¶
Desc- This function first checks the data in database table and on getting it, it will clean up the entries.
« More »
g8_show_lib_fbit_demo_row_period_Graph¶
« More »
g8_curl_post_fbit¶
« More »
g8_room_page_exist¶
« More »
g8_resi_arm_disarm_night_mode_section¶
« More »
g8_show_lib_fbit_demo_row_period_Graph¶
« More »
Functions
g8_actn_demo¶
This function is to only show a demonstration of g8_action plugin
« More »
g8_show_demo_row¶
This function shows one row in the action demo file
« More »
g8_mysqli_db_close¶
Function to close the open db connection for mysqli version.
« More »
g8_set_actn¶
Function to excute all actions as per following conditions
« More »
g8_get_actn¶
Function to get group id on basis of action id
« More »
g8_do_grp_actn¶
Function to insert of values of group log into g8_act_grp_log table
« More »
g8_get_act_grp¶
Function to get group actions and perform that action
« More »
g8_act_operator¶
Function to return the result of the value checked.
« More »
g8_chk_grp_active¶
Function to get status of group is active or not from g8_act_grp_prop
« More »
g8_chk_act_active¶
Function to get status of action is active or not from g8_act_ctrl table
« More »
g8_get_grp_detail¶
Function to get group details
« More »
g8_get_grp_array¶
Function to get group details
« More »
g8_get_act_detail¶
Function to get act details by act id from g8_act_ctrl table
« More »
g8_update_grp_cntr¶
Function to update group counter in g8_act_grp_prop table
« More »
g8_update_act_freq¶
Function to update action counter in g8_act_ctrl table
« More »
g8_update_act_detail¶
Function to update action details in g8_act_ctrl table
« More »
g8_check_lo_exist¶
Function returns lo device is exist or not
« More »
g8_check_param_exist¶
Function to check param existence for an loid
« More »
g8_grp_log¶
Function to insert of values of group log into g8_act_grp_log table
« More »
g8_actn_parent_id¶
Function to get parent id of action id from g8_actn_ctrl table
« More »
g8_actn_param_val¶
Function to get param value of a lo_id on basis of param by read or force read method
« More »
g8_get_act_ctrl_log¶
Function to get act log by act log detail from g8_act_ctrl_log table
« More »
g8_get_act_ctrl_value_match¶
Function to get act value is in databse or not of grp log table
« More »
g8_update_grp_log¶
Function to update g8_act_grp_log table g8_src_value
« More »
g8_insert_debug_log¶
Function to insert action logs into g8_debug_log table
« More »
g8_do_actn_grp¶
Function perform group actions actions on basis of group id
« More »
Functions
g8_dev_prop_loid¶
Function to get loid from g8_dev_prop if exist
« More »
g8_dev_prop_del_loid¶
Function to get loid from g8_dev_prop_del if exist
« More »
g8_dmad_del_dev¶
Function for deleting devices on basis of lo_id from g8_dev_prop without deleting child devices
« More »
g8_dmad_del_child_dev¶
Function for deleting devices on basis of lo_id from g8_dev_prop with deleting child devices
« More »
g8_get_dev_childCount¶
Function to get childs count of a device
« More »
g8_dmad_dev_prop_del¶
Function for deleting devices on basis of lo_id from g8_dev_prop_del without deleting child devices
« More »
g8_delete_loid¶
Function to delete devices for g8_dmad module
« More »
g8_insert_dev_prop_del¶
Function to insert value from g8_dev_prop table to g8_dev_prop_del
« More »
g8_insert_dev_prop_child_del¶
Function to insert value from g8_dev_prop table to g8_dev_prop_del
« More »
g8_insert_dev_prop¶
Function to insert value from g8_dev_prop_del table to g8_dev_prop
« More »
g8_modify_loid¶
Function to update status of device
« More »
g8_scratch_pad_dev¶
Function to fetch data from g8_scratch_patch_dev on basis of lo_id
« More »
g8_dmad_insert_scratch_pad¶
Function for inserting value inside g8_scratch_pad
« More »
g8_delete_loid1¶
Function to delete lo_id
« More »
g8_dmad_del_scratch_pad¶
Function for deleting value from g8_scratch_pad
« More »
g8_dmad_act¶
Function to activate or deactivate the device
« More »
g8_check_lo_id¶
Function to check lo_id exist in table g8_dev_prop
« More »
g8_check_scratch_lo_id¶
Function to check lo_id exist in table g8_scratch_pad
« More »
g8_dmad_add¶
Function to add data of devices
« More »
g8_dmad_png_add¶
Function to add g8_png device
« More »
g8_dmad_mod¶
Function to modify data of devices
« More »
g8_png_add¶
Function to Insert Device string when passed a LifeON Parameters
« More »
g8_png_update¶
Function to Update Device string when passed a LifeON Parameters
« More »
g8_png_delete¶
Function to delete Device string when passed a LifeON Parameters
« More »
g8_delete_loid2¶
Function to delete Device string when passed a LifeON Parameters
« More »
g8_dmad_get_value¶
Function to deconstruct g8_value received from index.php
« More »
g8_dmad_act_val¶
Function to activate or deactivate the device
« More »
g8_dmad_update_act¶
Function to update DEV_ACTIVE in g8_dev_prop
« More »
g8_lo_dev_del¶
Function to delete and undelete from g8_dev_prop
« More »
g8_ajax_dmad¶
Function for ajax in dropdown of index page
« More »
g8_add_action¶
Function for adding a device to g8_dev_prop
« More »
g8_add_xtsn¶
Function for adding g8_xtsn devices
« More »
g8_xtsn_output¶
Function for showing validation output of g8_xtsn device
« More »
g8_add_andy¶
Function for executing addition of g8_andy device
« More »
g8_andy_output¶
Function for executing addition of g8_andy device
« More »
g8_add_ping¶
Function for executing addition of g8_ping device
« More »
g8_ping_output¶
Function for showing output of above execution
« More »
g8_get_cat_name¶
Function for getting category name from g8_category_prop
« More »
g8_get_cat_id¶
Function for getting category name from g8_category_prop
« More »
g8_get_act_locn¶
Function for fetching active locations according to diff params g8_dev_prop
« More »
g8_dev_cat_room¶
Function for get category of devices based on room, location and param
« More »
g8_get_cat¶
Function for get category ID and long records from g8_category_prop of cand
« More »
g8_get_dev_exist¶
Function for checking if dev ID exists in g8_dev_prop
« More »
g8_get_del_dev_name¶
This function returns only the device name of the given lo device
« More »
g8_get_del_dev_desc¶
This function returns the device description of the given device from g8_dev_prop
« More »
g8_get_child_dev¶
This function returns the device ID of child devices of the given lo device
« More »
g8_get_parent_exist¶
Function for fetching parent_ids
« More »
g8_get_dev_num_last¶
Function for fetching last dev_num of child devices
« More »
g8_mod_desc_complete¶
Function for fetching module description for which add devices is complete
« More »
g8_get_dev_parent_list¶
Function for fetching dev parent list
« More »
g8_get_dev_name_exist¶
Function for checking if dev_name exists
« More »
g8_fetch_standard_col¶
Function for fetching standard columns
« More »
g8_fetch_adv_col¶
Function for getting advanced columns
« More »
g8_show_column¶
Function for describing form field format for g8_dev_prop columns
« More »
Functions
g8_get_zwav¶
LifeOn primary g8_get function
G8 LifeOn g8_zwav library.
« More »
g8_zwav_rchbl¶
Function to check for reachable param for g8_zwav
« More »
g8_get_zwav_server_val¶
LifeOn primary g8_get function
G8 LifeOn g8_zwav library
« More »
g8_set_zwav¶
LifeOn primary g8_set function
G8 LifeOn g8_zwav library
« More »
g8_get_loid_by_uuid¶
LifeOn zwav function to return loid of a given Zwave device ID, passed by uuid
G8 LifeOn g8_zwav library
« More »
g8_get_loname_by_uuid¶
LifeOn zwav function to return lifone name of a given Zwave device ID, passed by uuid
« More »
g8_get_zwav_dev¶
LifeOn zwav function to return variable value, queried by zwave id of the device
« More »
g8_list_show_value¶
Function list value from g8_cfg table
« More »
g8_tckt_db_connect¶
Function to close the open db connection for mysqli version for g8_support db.
« More »
g8_lo_db_connect¶
Function to open db connection on basis of lo_id for mysqli version.
« More »
g8_set_empl¶
Function to excute all set functions as per following conditions
« More »
g8_set_tckt_updt¶
function for done updates on a ticket
« More »
g8_set_new_now¶
function for create ticket on basis of various value like subject, department
« More »
g8_create_ticket¶
function for create ticket
« More »
g8_set_new_later¶
function for generate ticket for future
« More »
g8_set_create_tckt_later¶
Function is used to create ticket for future purpose which are stored in database
« More »
g8_delete_tckt_new_later¶
Function is used to delete future ticket detail from g8_tckt_new_later table
« More »
g8_update_tckt_later¶
Function is used to update future ticket freq in g8_tckt_new_later table
« More »
g8_get_tckt_status¶
Function to get status of ticket on basis of different flag like STATUS,DEPTID, HELPID
« More »
g8_get_tckt_status_open¶
Function to get status of open ticket on basis of different flag like STATUS,DEPTID, HELPID
« More »
g8_get_tckt_status_odue¶
Function to get status of open ticket which are overdue on basis of different flag like STATUS,DEPTID, HELPID
« More »
g8_get_tckt_values¶
Function to get status of open ticket on basis of different flag like STATUS,DEPTID, HELPID
« More »
g8_get_tckt_due_soon_values¶
Function to get status of open ticket on basis of different flag like STATUS,DEPTID, HELPID
« More »
g8_get_due_in¶
Function to get status of due ticket in next xx minutes
« More »
g8_get_status¶
Function is used to get ticket status by ticket id or ticket number
« More »
g8_get_ftr_tckt¶
Function is used to get list of tickets which are added for future
# http://localhost/lo/g8_api.php?g8_cmd=GET&g8_lo_id=900&g8_param=FUTURE_TCKT&g8_value=G8_LO_ID:900&G8_HELPID:urlencode('help_id')~G8KWORD:*value*~G8_TCKT_TYPE:urlencode('tckt_type')&g8_op=json
« More »
g8_get_tckt_status_due¶
Function get due ticket status for different basis of g8_value
« More »
g8_get_due_tckt_values¶
Function is used to return STATUS_DUE and COUNT_DUE param value
« More »
g8_get_close_tckt_values¶
Function is used to return CLOSE_TCKT and CLOSE_COUNT param value
« More »
g8_get_tckt_range¶
Function to get tickets between two date timestamp
« More »
g8_get_range_tckt_values¶
Function is used to return RANGE_TCKT and RANGE_COUNT param value
#http://localhost/lo/g8_api.php?g8_cmd=GET&g8_lo_id=10314&g8_param=RANGE_TCKT&g8_value=G8FLAG~OPEN,G8DEPT~,G8HELP~,G8RANGE~2015-03-20%2004:00:00|2015-04-07%2014:15:11,%20&g8_op=json|txt
« More »
g8_get_tckt_content_by_id¶
Function is used to get ticket content by ticket id from ost_ticket_thread table
« More »
g8_get_tckt_status_id¶
Function is used to get status id of ticket by status name
« More »
g8_get_tckt_status_name¶
Function is used to get status name of ticket by status id
« More »
g8_get_tckt_dept_id¶
Function is used to get department id of ticket by department name
« More »
g8_get_tckt_dept_name¶
Function is used to get department name of ticket by department id from ost_department table
« More »
g8_get_tckt_help_name¶
Function is used to get help/topic name of ticket by topic id from ost_help_topic table
« More »
g8_get_tckt_help_id¶
Function is used to get topic id of ticket by help/topic name
« More »
g8_get_tckt_no_byID¶
Function is used to get ticket no from ost_ticket table by ticket id
« More »
g8_get_tckt_detail_by_num¶
Function is used to get status id of ticket by status name
« More »
g8_get_user_name¶
Function is used to get user name by user id from ost_user table
« More »
g8_get_user_detail¶
Function is used to get user name by user id from ost_user table
« More »
g8_get_staff_mailId¶
Function is used to get staff member email id by staff id from ost_staff table
« More »
g8_get_staff_detail¶
Function is used to get staff detail by staff id from ost_staff table
« More »
g8_get_user_mailId¶
Function is used to get user email id by user id from ost_user_email table
« More »
g8_get_sla_value_by_num¶
Function is used to get sla details by sla id from ost_sla table
« More »
g8_get_tckt_subject_by_id¶
Function is used to get ticket subject by ticket id from ost_ticket__cdata table
« More »
g8_tktnum_to_deptid¶
Function to return deparment id of a ticket by ticket no. or ticket id from ost_ticket table
« More »
g8_tktnum_to_slaid¶
Function to return sla id of a ticket by ticket no. or ticket id from ost_ticket table
« More »
g8_tktnum_to_userid¶
Function to return user id of a ticket by ticket no. or ticket id from ost_ticket table
« More »
g8_tktnum_to_staffid¶
Function to return staff id of a ticket by ticket no. or ticket id from ost_ticket table
« More »
g8_tktnum_to_helpid¶
Function to return help id of a ticket by ticket no. or ticket id from ost_ticket table
« More »
g8_get_data_type¶
Function to get image type from a image url
« More »
g8_get_dept_list¶
Function to get dept list from ost_department table
« More »
g8_get_employee_list¶
Function to get employee list from ost_staff table
« More »
g8_get_topic_list¶
Function to get topic list from ost_help_topic table
« More »
g8_get_lo_id_by_name¶
Function to get value from g8_dev_prop_tmpl table on basis of module name
« More »
g8_get_priority_details¶
Function is used to get priority details by priority id from ost_ticket_priority table
« More »
g8_delete_tckt_new_detail¶
Function for delete value from g8_user_map table by loid
« More »
g8_dboard_all¶
Function for create dashboard for score card system
« More »
Functions
g8_remote_btn_prop_array¶
Function to list of button associated with a remote from g8_remote_btn_prop table
« More »
g8_mk_rooms¶
Function to make rooms, when it is passed an array of rooms
« More »
g8_row_cont¶
Function to show contents of a row in div
« More »
g8_str_style¶
Function to show contents of a style section of the main page
« More »
g8_str_script¶
Function to show script contents of the main page
« More »
g8_ajax_XY_resolution¶
Function to store resolution of client machine by ajax script
« More »
g8_str_hdr¶
Function to show header in the mainpage
« More »
g8_mk_divs¶
Function to show header in the mainpage
« More »
g8_str_iefix¶
Function to make the js IE compatible
« More »
g8_rooms_array¶
Function to list of rooms with details associated with a room id from g8_page_prop table
« More »
g8_room_prop_detail¶
Function to get values from g8_room_prop table on basis of room id
« More »
g8_row_prop_detail¶
Function to get values from g8_room_prop table on basis of room id
« More »
g8_xy_resolution¶
Function to insert X and Y resolution of client machine along with IP if not exist else update
« More »
g8_check_xy_resolution¶
Function to check X and Y resolution of a client exist or not
« More »
g8_get_xy_resolution¶
Function to get X and Y resolution of a client exist or not
« More »
g8_update_div_prop¶
Function to update g8_div_prop table by a single column
« More »
g8_get_row_action¶
Function to get values from g8_room_prop table on basis of room id
« More »
g8_div_prop_array¶
Function to list of div's associated with a room id from g8_div_prop table
« More »
g8_row_prop_array¶
Function to list of rows associated with a room id from g8_row_prop table
« More »
g8_notification_refresh¶
Function for refresh notification panel after each x time
« More »
g8_chck_room_exist¶
Function to check room exist in g8_room_prop table
« More »
g8_chck_div_exist¶
Function to check div exist in a room of g8_div_prop table
« More »
g8_chck_row_exist¶
Function to check div exist in a room of g8_row_prop table
« More »
g8_chk_delete_row¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table before check existence
« More »
g8_chk_delete_div¶
Function to delete a div or all divs and of a room from g8_div_prop table before check existence
« More »
g8_delete_row¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table
« More »
g8_delete_div¶
Function to delete a div or all divs and of a room from g8_div_prop table
« More »
g8_gweb_delete_div¶
Function to delete display panel
« More »
g8_gweb_delete_row¶
Function to delete display panel
« More »
g8_gweb_act_deact_row¶
Function to delete display panel
« More »
g8_chk_act_deact_row¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table before check existence
« More »
g8_act_deact_row¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table
« More »
g8_gweb_act_deact_div¶
Function to delete display panel
« More »
g8_chk_act_deact_div¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table before check existence
« More »
g8_act_deact_div¶
Function to delete a single row or all rows of div or all divs and of a room from g8_row_prop table
« More »
g8_div_array¶
Function to check div exist in a room of g8_div_prop table
« More »
g8_del_room¶
Function to delete a room for a specific room ID
« More »
g8_fetch_columns¶
Function to fetch column names for any table
« More »
g8_create_div¶
Function to create a customised display panel
« More »
g8_create_row¶
Function to create a customised display panel
« More »
g8_lo_default_entry¶
Function to execute entries in g8_room_prop, g8_page_prop, g8_div_prop, g8_row_prop together[Master Function]
« More »
g8_get_default_value¶
Function to get details of room no=21 for default values
« More »
g8_get_user_val¶
Function to merge user-defined values and default values in single array
« More »
g8_user_validate¶
Function to validate user defined entries
« More »
g8_mk_room_entry¶
Function to execute insert query in g8_room_prop table
« More »
g8_mk_panl_entry¶
Function to insert default panels in new room
« More »
g8_mk_page_entry¶
Function to insert assoc rooms on module panel for a room id
« More »
g8_mk_row_entry¶
Function to insert default rows for default panels
« More »
g8_page_edit_entry¶
Function to insert PageEdit Elements
« More »
g8_div_value_validate¶
Function to validate xpos
« More »
g8_color_tone¶
Function to set color tones for divs in a room
« More »
g8_row_array¶
Function to create an array of div
« More »
g8_last_del¶
Function to check last row in div
« More »
g8_del_row¶
Function to delete a row
« More »
g8_room_act_deact¶
Function to activate and deactivate room
« More »
Functions
g8_fbit_index_demo_start¶
Function to show the complete records on index.php, now moved to g8_core
This is used by main index page, to build the index page
« More »
g8_set_redbucket_tckt¶
Function to SET variables from g8_cfg or g8_lang_english table, if variable already exists simply update, else insert new value
« More »
g8_set_tckt_closing_time¶
Function to SET variables from g8_cfg or g8_lang_english table, if variable already exists simply update, else insert new value
« More »
g8_show_lib_fbit_demo_row¶
Function to show the one row on index.php
« More »
g8_fbit_index_demo_start¶
Function to show the complete records on index.php, now moved to g8_core
This is used by main index page, to build the index page
« More »
g8_get_gweb_var_like¶
Function to get value from g8_gweb_cfg table
« More »
g8_get_remote_btn_name¶
Function to get remote button name
« More »
g8_get_icons¶
Function to get value from g8_gweb_cfg table
« More »
g8_fbit_index_demo_start¶
Function to show the complete records on index.php, now moved to g8_core
This is used by main index page, to build the index page
« More »
Functions
g8_set_butn¶
Function for set params of button
« More »
g8_get_butn¶
Function for get params of button
« More »
g8_butn_status¶
Function used for checking the button status
« More »
g8_back_butn¶
Function used to go to the previous page from the current page.
« More »
g8_insert_butn_detail¶
Function used to insert button details.
« More »
g8_butn_add¶
Function used to add new button with details.
« More »
g8_butn_update¶
Function used to update a button details.
« More »
g8_get_lo_butn_sevc_id¶
Function used to get the button service id.
« More »
g8_get_dev_id_by_param¶
Function used to get the device id by parameter.
« More »
g8_update_butn_detail¶
Function used to update the button details
« More »
Functions
g8_index_add_bookmarks¶
Function to add bookmarks on basis of user id
« More »
g8_index_update_bookmarks¶
Function to update an already added bookmark on basis of Record id
« More »
g8_index_edit_phone¶
Function to edit a phone number on basis of user id
« More »
g8_user_profile_image¶
Function for image section
« More »
g8_get_content¶
To fetch data from the g8_user_content table on the basis of user id
« More »
g8_index_del_bookmarks¶
Function to delete already added bookmark on basis of Record id
« More »
g8_index_table_script¶
Function to give script to toggle sidebar
« More »
g8_get_saved_links¶
Function to fetch all bookmarks on basis of user ID/Record id
« More »
g8_wid_id¶
Function to get id of the widget.
« More »
g8_get_wellness_mod¶
Function to fetch distinct wwllness module names
« More »
g8_index_show_expired_tokens¶
Function to get details of loid which has expired token
« More »
g8_index_g8usr_details¶
Function to get details of all active users in db
« More »
g8_index_set_user_pref¶
Function to insert or update user settings
« More »
g8_index_tckt_info¶
Function to show ticket settings
« More »
g8_index_div_picker¶
Function to fetch widgets from widget prop
« More »