hi,
i have following classes
class a
{
var x;
}
class b extends a
{
function init(){}
function somthing()
{
$this->x->init() ; // this is the what i need help for
}
}
at the commented point the $this is default object but what about variable x
i.e. $this -> x
i got error Call to a member function Init() on a non-object
can sombody explain me what this is?