Development

Changeset 8289

You must first sign up to be able to contribute.

Changeset 8289

Show
Ignore:
Timestamp:
04/04/08 16:30:43 (6 months ago)
Author:
francois
Message:

[doc 1.1] Added warning about the need for sfCompat10Plugin when required

Files:

Legend:

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

    r8283 r8289  
    801801------------------------------------- 
    802802 
     803>**NOTE** 
     804>The features described in this section are deprecated in symfony 1.1 and only work if you enable the `sfCompat10` plugin. 
     805 
    803806Validating the action input--mostly request parameters--is a repetitive and tedious task. Symfony offers a built-in request validation system, using methods of the action class. 
    804807 
  • doc/branches/1.1/book/10-Forms.txt

    r8255 r8289  
    484484--------------- 
    485485 
     486>**NOTE** 
     487>The features described in this section are deprecated in symfony 1.1 and only work if you enable the `sfCompat10` plugin. 
     488 
    486489Chapter 6 explained how to use the `validateXXX()` methods in the action class to validate the request parameters. However, if you use this technique to validate a form submission, you will end up rewriting the same portion of code over and over. Symfony provides an alternative form-validation technique, relying on only a YAML file, instead of PHP code in the action class. 
    487490 
  • doc/branches/1.1/book/14-Generators.txt

    r8283 r8289  
    181181 
    182182Administration modules interpret the model by way of a special configuration file called `generator.yml`, which can be altered to extend all the generated components and the module look and feel. Such modules benefit from the usual module mechanisms described in previous chapters (layout, validation, routing, custom configuration, autoloading, and so on). You can also override the generated action or templates, in order to integrate your own features into the generated administration, but `generator.yml` should take care of the most common requirements and restrict the use of PHP code only to the very specific. 
     183 
     184 
     185>**NOTE** 
     186>The features described in this section use symfony 1.0's validation system and only work if you enable the `sfCompat10` plugin. 
    183187 
    184188### Initiating an Administration Module