Changeset 4691
- Timestamp:
- 07/17/08 11:33:23 (6 months ago)
- Location:
- branches/0.11/manual/docs/en
- Files:
-
- 2 modified
-
component-overview.txt (modified) (1 diff)
-
working-with-objects/component-overview/table.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/manual/docs/en/component-overview.txt
r4551 r4691 787 787 ++++ Custom table classes 788 788 789 Adding custom table classes is very easy. Only thing you need to do is name the classes as {{[componentName]Table}} 790 and make them inherit {{Doctrine_Table}}. 789 Adding custom table classes is very easy. Just name the classes as {{[componentName]Table}} 790 and make them inherit {{Doctrine_Table}}. Make sure to set {{ATTR_AUTOLOAD_TABLE_CLASSES}} if you want them to autoload: 791 792 <code type="php> 793 Doctrine_Manager::getInstance()->setAttribute(Doctrine::ATTR_AUTOLOAD_TABLE_CLASSES, true); 794 </code> 791 795 792 796 <code type="php"> -
branches/0.11/manual/docs/en/working-with-objects/component-overview/table.txt
r4159 r4691 46 46 ++++ Custom table classes 47 47 48 Adding custom table classes is very easy. Only thing you need to do is name the classes as {{[componentName]Table}} 49 and make them inherit {{Doctrine_Table}}. 48 Adding custom table classes is very easy. Just name the classes as {{[componentName]Table}} 49 and make them inherit {{Doctrine_Table}}. Make sure to set {{ATTR_AUTOLOAD_TABLE_CLASSES}} if you want them to autoload: 50 51 <code type="php> 52 Doctrine_Manager::getInstance()->setAttribute(Doctrine::ATTR_AUTOLOAD_TABLE_CLASSES, true); 53 </code> 50 54 51 55 <code type="php">