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; } }
public function execute($response) { parent::execute($response); $this->getData($this->tableType); }