[PHP] Re: Class not returning value

2009-11-25 Thread Pieter du Toit
Thanks for th reply Peter i call this method on success $this->sendSMS(); But i sorted the problem with this: public function getResult() { $this->processRequest(); return $this->responseArray; } "Peter Ford" wrote in message news:cf.a1.5.d5cfc...@pb1.pair.com... > P

[PHP] Re: Class not returning value

2009-11-25 Thread Pieter du Toit
Sorry i found the problem, need to do this: public function getResult() { $this->processRequest(); return $this->responseArray; } ""Pieter du Toit"" wrote in message news:57.90.5.88fec...@pb1.pair.com... > Hi > > This is my first class and it does not work, i do a retur

[PHP] Re: Class not returning value

2009-11-25 Thread Peter Ford
Pieter du Toit wrote: > Hi > > This is my first class and it does not work, i do a return > $this->responseArray; with the public function getResult() method, but get > nothing. Can someone please help me. > > Thsi is how i create the object > $number = new Smsgate($cell_numbers, $message, "278