Buku Pedoman»Developing with CakePHP»Controllers»Controller Attributes»The Parameters Attribute ($params)»isAjax
3.5.2.4.3 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 comment for this section
