Usage Examples
There are many usage examples spread throughout this User Guide, but I have also included an Examples Controller in the DataMapper Download file. You will need to run the Database Schema on your test server for the examples to work.
Setting up the Examples
Follow these instructions to get the examples running on your server:
- Complete the Installation Instructions.
- Run the Database Schema.
- Copy the application/controllers/examples.php Controller from the DataMapper Download file into your CodeIgniter application/controllers folder.
- Copy the the models from the DataMapper Download file's application/models folder into your CodeIgniter application/models folder.
- Run the Examples Controller :)