SproutCMS

This is the code documentation for the SproutCMS project

function confirm()

Sends a JSON confirmation response, and then terminates.

The returned data will have the key 'success' => 1 added.
If no data is provided, the returned JSON will only contain the 'success' key.

This method halts execution

Usage

void Json::confirm ( [ mixed $data ] );

Arguments

  1. $data = NULL

Return value

  • void