Hey, its my first post so excuse me if i'm not doing this the way i should :-)
I have a small problem, I'm building a CMS in php and i wonder if there is a way to control which member functions of a class are "existing" in a certain situation of the program..lets say we are in situation A, our class has member functions 1 2 and 3, and we come in situation B where i would like the class to have only member function A...is this possible?
The goal is that when a user is logged in, functions A B and C are accessible, and when he's not, only A can be used...anyone? thx for your time anyway 🙂