{1384} - 3.5.2.4.4 isAjax

$this->params['form']
  1. $this->params['form']

Stores 1 if the current layout is set to ‘ajax’, 0 if not. This variable is only set if the RequestHandler Component is being used in the controller.

{3899} - 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.

Differences

Lines: 1-3Lines: 1-3
 <title>isAjax</title> <title>isAjax</title>
-<pre>$this-&amp;gt;params['form']</pre>
<p>Stores 1 if the current layout is set to ‘ajax, 0 if not. This variable is only set if the RequestHandler Component is being used in the controller.</p>
+<p class="method"><code>$this->params['ajax']</code></p>
<p>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.</p>