1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/docs/Working with objects - Component overview - Table - Custom table classes.php
2007-04-13 21:49:11 +00:00

17 lines
315 B
PHP

Adding custom table classes is very easy. Only thing you need to do is name the classes as [componentName]Table and make them
inherit Doctrine_Table.
<code type="php">
// valid table object
class UserTable extends Doctrine_Table {
}
// not valid [doesn't extend Doctrine_Table]
class GroupTable { }
</code>