Re: Check how much/which variables there are in an class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Reimers wrote:
Try

array get_class_vars ( string class_name)

This will return an array with at least the public variables.


Mathijs wrote:
Is there a way to check how much/which variables there are in an class?

Thx in advanced.

It works, but only for the public indeed.
Is there also a way to get the private/protected variables?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux