SproutCMS

This is the code documentation for the SproutCMS project

function isAjax()

Tests if the current request is an AJAX request by checking the X-Requested-With HTTP
request header that most popular JS frameworks now set for AJAX calls.

Usage

boolean Request::isAjax ( );

Return value

  • boolean