BaseYii getObjectVars()

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

doc_Yii
2016-10-30 16:50:28
Comments
Leave a Comment

Please login to continue.