De handleiding»Ontwikkelen met CakePHP»Controllers»Controller attributen»The Parameters Attribute ($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
