Basic MY_Model question. Need some help |
[eluser]PhilTem[/eluser]
If you want to do it in a proper fashion, each model only knows of one table and access only this one table. For the case where you want to combine data from two tables, you would actually use a library that performs your desired tasks. You may want to have a look at my MY_Model which can be found here and the barely complete documentation can be found here. With my MY_Model each class extending this parent class can have their own definition of the table with different primary keys and all that fancy stuff. The documentation linked above isn't completed yet but you can read through the class's code itself, it should be documented well. |
Messages In This Thread |
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 02:19 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 03:06 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 03:11 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 03:14 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 03:18 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 03:35 PM
Basic MY_Model question. Need some help - by El Forum - 06-02-2012, 04:36 PM
Basic MY_Model question. Need some help - by El Forum - 06-03-2012, 05:23 AM
Basic MY_Model question. Need some help - by El Forum - 06-03-2012, 06:25 AM
|