Accessing Varible inside a class
Posted: Thu Aug 14, 2008 6:16 am
Class XX extends blah
{
protected $yyy = array('test', 'test1', 'test2');
}
Ok, so here is the hard part.
I have $classname (currently set to XX)
So:
$classname = 'XX';
How can I get the value of XX's $yyy without creating an object?
{
protected $yyy = array('test', 'test1', 'test2');
}
Ok, so here is the hard part.
I have $classname (currently set to XX)
So:
$classname = 'XX';
How can I get the value of XX's $yyy without creating an object?