6 lines
271 B
PHP
6 lines
271 B
PHP
In the following example we have three database tables called 'entity', 'user' and 'group'.
|
|
Users and groups are both entities.
|
|
The only thing we have to do is write 3 classes (Entity, Group and User) and make iterative
|
|
setTableDefinition method calls.
|
|
<br /><br />
|