Possible Duplicate:
What is the difference between a private and public function?
what is diff between public class and private class
Possible Duplicate:
What is the difference between a private and public function?
what is diff between public class and private class
As mentioned above, there is no such thing as public and private classes in PHP, but there are abstract classes that can extend classes, which are effectively private as they can't be used without the base class being instantiated.
However, I don't think this is the answer you were looking for and would also recommend you read about PHP OOP basics.