Development

Changeset 3673

You must first sign up to be able to contribute.

Changeset 3673

Show
Ignore:
Timestamp:
03/27/07 09:41:04 (2 years ago)
Author:
fabien
Message:

doc: fixed some typos in the book

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/book/05-Configuring-Symfony.txt

    r3567 r3673  
    510510    echo sfConfig::get('app_tax');   // Remember that category headers are ignored 
    511511     => '19.6' 
    512     echo sfConfig::get('app_default_user_name); 
     512    echo sfConfig::get('app_default_user_name'); 
    513513     => 'John Doe' 
    514514    echo sfConfig::get('app_mail_webmaster'); 
  • doc/branches/1.0/book/06-Inside-the-Controller-Layer.txt

    r3607 r3673  
    454454`getLanguages()`                 | Array of accepted languages            | `Array( ` ` [0] => fr ` ` [1] => fr_FR ` ` [2] => en_US ` ` [3] => en )` 
    455455`getCharsets()`                  | Array of accepted charsets             | `Array( ` ` [0] => ISO-8859-1 ` ` [1] => UTF-8 ` ` [2] => * )` 
    456 getAcceptableContentType()       | Array of accepted content types        | `Array( [0] => text/xml [1] => text/html` 
     456getAcceptableContentTypes()      | Array of accepted content types        | `Array( [0] => text/xml [1] => text/html` 
    457457 
    458458* *Works only with prototype* 
     
    471471        $hasFoo = $this->getRequest()->hasParameter('foo'); 
    472472        $hasFoo = $this->hasRequestParameter('foo');  // Shorter version 
    473         $foo    = $this->getRequest()->getParameter('foo'); 
    474         $foo    = $this->getRequestParameter('foo');  // Shorter version 
     473        $foo    = $this->getRequest()->getParameter('foo'); 
     474        $foo    = $this->getRequestParameter('foo');  // Shorter version 
    475475      } 
    476476    } 
     
    941941 
    942942    [php] 
    943     return $this->getController()->forward('mymodule', 'myAction'); 
     943    return $this->getContext()->getController()->forward('mymodule', 'myAction'); 
    944944 
    945945>**NOTE** 
     
    10261026        $context = $this->getContext(); 
    10271027        $request = $context->getRequest(); 
     1028 
    10281029        if (!$request->isSecure()) 
    10291030        { 
    10301031          $secure_url = str_replace('http', 'https', $request->getUri()); 
     1032 
    10311033          return $context->getController()->redirect($secure_url); 
    10321034          // We don't continue the filter chain 
  • doc/branches/1.0/book/10-Forms.txt

    r3420 r3673  
    409409      AuthorPeer::doSelect(new Criteria()), 
    410410      'getId', 
    411       '__toString()', 
     411      '__toString', 
    412412      $article->getAuthorId() 
    413413    )) ?>