Esempio n. 1
0
 public function toObject()
 {
     $response = new stdClass();
     $response->fields = $this->fields->toObject();
     if ($this->isSuccessful()) {
         $response->success = Gpf::YES;
         $response->message = $this->infoMessage;
     } else {
         $response->success = "N";
         $response->message = $this->errorMessage;
     }
     return $response;
 }
Esempio n. 2
0
 public function toObject()
 {
     return $this->response->toObject();
 }