So, i got the following...
<?
class a{
var $Elem;
function a($name){
$this->Elem=$name;
}
function Out(){
return $this->Elem;
}
}
class b{
var $ab = new a("something");
function OutA(){
return $this->ab->Out();
}
}
?>
And it doesn't work.
How can i reference the Out methods from class a inside class b?
Thanks in advance
fLIPIS