For those who thinking of - Class child extends parent/Class extend or inheritance |
[eluser]bl00dshooter[/eluser]
First: Each class is like a controller. You're not suposed to have 2 controllers on the same file, so it doesn't work. There is a reason the filename must be equal to the class name, it's how codeigniter routing works. Second: Phil Sturgeon already explained how to do what you want in his blog: http://philsturgeon.co.uk/index.php/news...ing-it-DRY Third: How's codeigniter not playing well with OOP? It's based on OOP, controllers and models are OOP, etc. I think you incorrectly explained yourself or you don't understand how things work. Fourth: Merry Christmas, sskl. |
Messages In This Thread |
For those who thinking of - Class child extends parent/Class extend or inheritance - by El Forum - 12-25-2010, 02:01 AM
For those who thinking of - Class child extends parent/Class extend or inheritance - by El Forum - 12-25-2010, 05:36 AM
For those who thinking of - Class child extends parent/Class extend or inheritance - by El Forum - 12-25-2010, 09:10 AM
|