Development

Changeset 11078

You must first sign up to be able to contribute.

Changeset 11078

Show
Ignore:
Timestamp:
08/24/08 13:53:48 (3 months ago)
Author:
Javier.Eguiluz
Message:

[doc] [1.0] Fixed syntax issues

Files:

Legend:

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

    r10189 r11078  
    9191In a `schema.yml` file, the first key represents a connection name. It can contain several tables, each having a set of columns. According to the YAML syntax, the keys end with a colon, and the structure is shown through indentation (one or more spaces, but no tabulations). 
    9292 
    93 A table can have special attributes, including the `phpName` (the name of the class that will be generated). If you don't mention a phpName for a table, symfony creates it based on the camelCase version of the table name. 
     93A table can have special attributes, including the `phpName` (the name of the class that will be generated). If you don't mention a `phpName` for a table, symfony creates it based on the camelCase version of the table name. 
    9494 
    9595>**TIP** 
     
    626626    propel.builder.AddBehaviors = true     // Default value is false 
    627627 
    628 There is no behavior bundled by default in symfony, but they can be installed via plug-ins. Once a behavior plug-in is installed, you can assign the behavior to a class with a single line. For instance, if you install the sfPropelParanoidBehaviorPlugin in your application, you can extend an Article class with this behavior by adding the following at the end of the `Article.class.php`: 
     628There is no behavior bundled by default in symfony, but they can be installed via plug-ins. Once a behavior plug-in is installed, you can assign the behavior to a class with a single line. For instance, if you install the sfPropelParanoidBehaviorPlugin in your application, you can extend an `Article` class with this behavior by adding the following at the end of the `Article.class.php`: 
    629629 
    630630    [php]