public function getData() { return $this->entity->getArrayPost(); }
public function delete($id) { $st = new SIPTrunk(); $st->display = 'extensions'; $st->action = "deltrunk"; $st->extDisplay = $id; $pd = new SIPTrunkPeerDetails(); $st->setPeerDetails($pd); $rs = new RegisterString(); $st->setRegisterString($rs); $stf = new SIPTrunkForm(); $stf->setEntity($st); $stf->setLogin($this->login); $this->initLogin(); $dadd = $stf->getData(); $uadd = $stf->getDelURL(); $this->curl->get($uadd, $dadd); }