Collections functions
General functions
Render functions
Theme permission 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 2nd October 2022 18:05 Europe/London time based on the source file dated 30th June 2022 11:10 Europe/London time.