Development

Changeset 3413

You must first sign up to be able to contribute.

Changeset 3413

Show
Ignore:
Timestamp:
02/06/07 14:04:35 (2 years ago)
Author:
francois
Message:

fixed typo in Ajax documentation (closes #1428)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/book/11-Ajax-Integration.txt

    r3376 r3413  
    225225> 
    226226>     [php] 
    227 >     $isAjax = $this->getIsXmlHttpRequest(); 
     227>     $isAjax = $this->isXmlHttpRequest(); 
    228228> 
    229229>Symfony knows that an action is in an Ajax context and can adapt the response processing accordingly. Therefore, by default, Ajax actions don't include the web debug toolbar in the development environment. Also, they skip the decoration process (their template is not included in a layout by default). If you want an Ajax view to be decorated, you need to specify explicitly `has_layout: true` for this view in the module `view.yml` file.