Il manuale»Sviluppare con CakePHP»Controllers»Attributi della classe Controller »L'attributo Parametri ($params)»isAjax
3.5.2.4.4 isAjax
$this->params['ajax']
Stores 1 if the current request is an ajax call, 0 if not. This variable is only set if the RequestHandler Component is being used in the controller.
See comments for this section
