I created a class Request containing an object called client from Class Client. I question is in PHP 4, can I access the client function like this?
$request = new Reqest('12345');
$request->client->getCLientName();
I'm getting a "function getCLientName not defined error"
While this is working if I access the client's variable:
$request = new Reqest('12345');
echo $request->client->ClientName;
is there a restriction on object's memebr object function?
Thanks