Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 public function execute($response)
 {
     parent::execute($response);
     $this->getData($this->tableType);
 }