bject: [PHP-WIN] Need Help with Classes
|
|
|Ya it seems like a pain indeed. I guess i'll pose the
|question though: for the following class
|
|class myClass
|{
|var myVar;
|function myFunc($myVarA,$myVarB)
|{
|
| $this -> myVar = array("b" => 55,"c" =>
Ya it seems like a pain indeed. I guess i'll pose the question though:
for the following class
class myClass
{
var myVar;
function myFunc($myVarA,$myVarB)
{
$this -> myVar = array("b" => 55,"c" => 66);
}
}
Now i try
$somveVar = new myClass();
and finally i try and acces myVar from outs