Show
Ignore:
Timestamp:
07/13/08 01:14:08 (6 months ago)
Author:
jwage
Message:

fixes #1186 - removing all use of singularization and plurilization

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/docs/manual/en/getting-started/working-with-existing-databases.txt

    r4674 r4682  
    9797 
    9898This is where you can put your custom finder methods which can be used by calling Doctrine::getTable('User'). 
    99  
    100 +++ Singularizing Import 
    101  
    102 By default Doctrine will attempt to ensure your models are singularized when they are imported from an existing  
    103 database. This feature may not be ideal for everyone so it can easily be turned off using an attribute. 
    104  
    105 <code type="php"> 
    106 Doctrine_Manager::getInstance()->setAttribute('singularize_import', false); 
    107 </code> 
    108  
    109 Now, if you have a table named "files", the result will be a model named "Files" instead of "File".