public function send() { $response = parent::send(); if ($response) { $response->setResponseInterpretator(new VideoCategoriesMapper($this)); } return $response; }
public function send() { $response = parent::send(); if ($response) { $response->setResponseInterpretator(new VideoXMLQueueBuilder($this)); } return $response; }
public function send() { $this->response = parent::send(); if ($this->response && is_object($this->response)) { $this->xmlObject = new XMLMapper(); $this->xmlObject->execute($this->response->getContent()); $this->objArray = $this->xmlObject->getResponseArray(); } }
public function send() { $this->response = parent::send(); if ($this->response) { $xmlObject = new EventivalXMLMapper(); $xmlObject->execute($this->response->getContent()); } return $xmlObject; }
public function send($action = null) { $this->response = parent::send(); if ($this->response && is_object($this->response)) { if ($action) { $xmlObject = $this->mapperChoice($action); } else { $xmlObject = new XMLMapper(); } $xmlObject->execute($this->response->getContent()); return $xmlObject; } else { return false; } }