Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

ajax_response_ok_no_data()

Description

Builds the correct response expected for a success request where there is no data to return (e.g when deleting a record)

Parameters

This function accepts no parameters.

Return

array

Location

include/ajax_functions.php lines 107 to 112

Definition

 
function ajax_response_ok_no_data()
    {
    return array(
        
"status" => "success",
        
"data" => null);
    }

This article was last updated 3rd December 2020 14:05 Europe/London time based on the source file dated 18th May 2020 11:26 Europe/London time.