{JA} - 3.5.2.4.4 isAjax
$this->params['ajax']
現在のリクエストが Ajax によるものなら1、そうでなければ0が入ります。この変数は、コントローラで RequestHandler コンポーネントが使用されている場合のみ、設定されます。
{EN} - 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-3 | Lines: 1-3 | ||
| <title>isAjax</title> | <title>isAjax</title> | ||
| <p class="method"><code>$this->params['ajax']</code></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> | + | <p>現在のリクエストが Ajax によるものなら1、そうでなければ0が入ります。この変数は、コントローラで RequestHandler コンポーネントが使用されている場合のみ、設定されます。</p> |
