[eluser]steward[/eluser]
Code:
class MyBaseObject
{
//... has stuff I use in many misc objects
}
class MyBaseView
{
//... has stuff common to views
}
// etc for controllers, models...
What is the CI style for including base classes?
The loader functions seem to want to instantiate objects: but the class to be instantiated extends something else. Where do I put the something else?
Many ways to skin this cat. Is there a "CI approved" way?
I'm guessing:
a) include it in config, or
b) put it on the path and require_once as needed.
Thank you!