- ⌂ request
- Methods
request::is_ajax_request()
Return TRUE if this is an AJAX request, otherwise FALSE.
Prototype
string is_ajax_request()
Return
TRUE if this is an AJAX request, otherwise FALSE.
Example
// determine if this is an AJAX request
$request = new \io_comand_web\request();
$is_ajax = $request->is_ajax_request();