On his blog today Vance Lucas has posted a method you can use to only get the properties of your class that are in the "public" scope.
PHP provides two built-in functions to retrieve properties of a given class '" get_object_vars and get_class_vars .
Both these functions behave the same exact way, one taking an object as a variable and the other taking a string class name.
The tricky thing about the two functions is...
Post new comment