Hi all
Got a real easy question. π
How do I find out what properties a class has if all I know is the class name?
I have a class:
class master_sheep
and I want to print out the properties, is there a function I can call and use the class name as the argument and print out a list or array of the properties?
The why is; if I am working on a website and find classes in the code how do I know if the properties listed in that script are all the properties or just the ones needed at that time since you can call one or all the properties?
I found one thread that is close but the class properties are placed in the array directly when the array is created http://www.phpbuilder.com/board/showthread.php?s=&threadid=10207316&highlight=class+AND+properties+AND+array
I appreciated your time and Thank You in advance for your time.
Randyπ