Posted by Carramba on 10/12/78 11:36
thanx!
It seem to pass an object from a function one should declare
include 'somefile.php'; //have getObj() with returns object
class myClass {
var $var;
function myClass() {
$var = getObj();
}
}
then I was trying to use $this->var I ll only get error about unknown
variable var
Thanx again
Navigation:
[Reply to this message]
|