Comments: isAjax

By andreib on 20/8/08

1 - The doc is wrong

the code sample should be

$this->params['isAjax'], "isAjax" is the correct parameter name.

And it store 0 or 1 if the request is Ajax, not if the layout is "ajax". Having "ajax" as default layout is just another consequence of the request being Ajax.