This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, @1000heads! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Abstract class that serves as the Model in the MVC framework. | |
* | |
* A Model is a representation of the information in the application. A Model's | |
* data is saved in the database and the class is used to handle all the | |
* business logics. This class handles the standard create, read, update | |
* and delete operations. It must be extended to create the concrete | |
* implementation of a Model, and handle any other business logics specific to |