Good day.
I am a noob when it comes to OOP. I just read a chapter in my php book on classes and I am having a bit of trouble putting 2 and 2 together.
So the idea that i gained from everything is that a class is contained in its own file. This file is called(and i may be wrong on this) class.inc
It seems to me as though this is a seperate file.
When i look at other chapters in the book further down the road speaking about content management systems and shopping carts etc, they usually list the files included to make the example work. I never see a .inc file included in that list.
What am i missing and how would i implement classes with such a large example. I know these examples are using classes becuase i see the implementation in the code. I just dont know how they are referencing them without the .inc file.
Please provide any insite into this issue as you can. I appreciate your help in advance.