Call to a member function getVarNames() on a non-object in wrapper.php on line 66.
I took a job integrating existing php code for a GIS Maping Co.
Now when i got the code and db I noticed they used classes ( which I know kinda what they are, but not how to use them really. ) I've read the online documentation and if my understanding is correct then it works like this:
defining a class:
class MyClass{
$someVarDeclarations
someFunc1(args)
{}
someFunc2(args)
{}
}
}
Accessing a class to get variables from a function within a class:
$myVar = $myClass->someFunc1(args);
is there something i'm missing here?