| | 68 | |
| | 69 | The script will create 6 files in the models directory: |
| | 70 | - 3 '''BASE''' classes that contains the default methods of extended models, and thoose are the files we will eventually update if a newer version is out. |
| | 71 | - BASE_posts.php |
| | 72 | - BASE_tags.php |
| | 73 | - BASE_users.php |
| | 74 | - 3 '''extended''' classes that contains our final classes. Thoose are the files we will eventually edit to sweet our needs. We won't update thooses files if a newer version of abstractModels is out.[[BR]] |
| | 75 | each one of thoose files also contains an extended modelCollection corresponding to the models they handle. This permitt us to define specific collection methods for particular modelCollections. |
| | 76 | - posts.php |
| | 77 | - tags.php |
| | 78 | - users.php |
| | 79 | |
| | 80 | So if we want to redefine relationships between models or set filters or anything else we will edit the '''extended''' files. |