getObjectVars() public static method
Returns the public member variables of an object.
This method is provided such that we can get the public member variables of an object. It is different from "get_object_vars()" because the latter will return private and protected variables if it is called within the object itself.
public static array getObjectVars ( $object ) | ||
---|---|---|
$object | object |
The object to be handled |
return | array |
The public member variables of the object |
Please login to continue.