Development

Changeset 3607

You must first sign up to be able to contribute.

Changeset 3607

Show
Ignore:
Timestamp:
03/13/07 20:06:39 (2 years ago)
Author:
fabien
Message:

doc: backport typo fixes from trunk to 1.0 (r3599:3604)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/book/06-Inside-the-Controller-Layer.txt

    r3567 r3607  
    10521052      enabled:     true 
    10531053      is_internal: false 
    1054       view_name:   sfPhpView 
     1054      view_name:   sfPHP 
    10551055 
    10561056The enabled parameter allows you to disable all actions of a module. All actions are redirected to the `module_disabled_module`/`module_disabled_action` action (as defined in `settings.yml`). 
  • doc/branches/1.0/book/08-Inside-the-Model-Layer.txt

    r3567 r3607  
    235235    $comment = new Comment(); 
    236236    $comment->setAuthor('Steve'); 
    237     $comment->setContent('Gee, dude, you rock: best article ever!); 
     237    $comment->setContent('Gee, dude, you rock: best article ever!'); 
    238238 
    239239    // Attach this comment to the previous $article object 
     
    504504          password:           passwd 
    505505          port:               80 
    506           encoding:           utf-8     # Default charset for table creation 
     506          encoding:           utf8      # Default charset for table creation 
    507507          persistent:         true      # Use persistent connections 
    508508 
  • doc/branches/1.0/book/11-Ajax-Integration.txt

    r3567 r3607  
    225225> 
    226226>     [php] 
    227 >     $isAjax = $this->isXmlHttpRequest(); 
     227>     $isAjax = $this->getRequest()->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. 
  • doc/branches/1.0/book/15-Unit-and-Functional-Testing.txt

    r3567 r3607  
    684684    $b->initialize(); 
    685685    $b->get('/foobar/edit/id/1')-> 
    686         checkResponseElement('form input[type="hidden"][value="1"]', true-> 
     686        checkResponseElement('form input[type="hidden"][value="1"]', true)-> 
    687687        checkResponseElement('form textarea[name="text1"]', 'foo')-> 
    688688        checkResponseElement('form input[type="submit"]', 1);