I\'m new to the OOP paradigm, so there\'s probably a simple explanation for this question...
Do you always need to declare public object-wide variables in a class? F
If you declare a member inside the class you can set its accessibility e.g
private $varname;