Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 19th March 2024 04:35 Europe/London time based on the source file dated 18th August 2023 11:30 Europe/London time.