A Kézikönyv»Fejlesztés CakePHP-vel»Vezérlők»Vezérlő tulajdonságok»A paraméterek tulajdonság ($params)»isAjax
{HU} - 3.5.2.4.4 isAjax
$this->params['ajax']
1 ha a jelenlegi lekérés ajax hívás, és 0 ha nem. Ez a változó csak akkor kerül beállításra, ha a RequestHandler komponenst használjuk a vezérlőben.
{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>1 ha a jelenlegi lekérés ajax hívás, és 0 ha nem. Ez a változó csak akkor kerül beállításra, ha a RequestHandler komponenst használjuk a vezérlőben.</p> |
