Hello guys,
I need help for test.php from pages 70-71. I am trying to understand where I am missing to be able write line code to show up information about Organization.
Code:
//PAGE 68
class Organiztion extends Entity{
...
public function __toString(){
return $this->name
}
...
}
//PAGE 70
...
print "<h1>Organization - ".$objEntity->__toString()."</h1>";
...
When I call this method ($objEntity->__toString()), is it supposed to show the name of organization immediatly or I have modify this line of code?
Best Regards,
Peter