function GetRemoteContact(Contact $contact) { $Resp = parent::GetRemoteContact($contact); if ($Resp->Succeed()) { $Ext = $Resp->RawResponse->response->extension->children($this->ExtSidn); $contact = $Ext[0]->infData->contact; $Resp->{"nl-ext-legal-form"} = "{$contact->legalForm}"; $Resp->{"nl-ext-legal-form-regno"} = "{$contact->legalFormRegNo}"; } return $Resp; }
public function GetRemoteContact(Contact $contact) { $Resp = parent::GetRemoteContact($contact); if ($Resp->Succeed()) { $infData = $Resp->RawResponse->response->extension->children("urn:se:iis:xml:epp:iis-1.1"); $infData = $infData[0]; if ($infData) { $Resp->{"vatno"} = trim((string) $infData->vatno); $Resp->{"orgno"} = trim((string) $infData->orgno); } } return $Resp; }
public function ReadMessage () { $SuperRet = parent::ReadMessage(); if (get_class($SuperRet) == "PendingOperationResponse") { $RawResponse = $SuperRet->RawResponse; $data = $RawResponse->response->resData->children($this->XmlNamespaces['domain']); $data = $data[0]; if ($data && $data->getName() == "panData") { $panData = $data; $hostName = (string)$panData->name; $result = (int)$panData->name->attributes()->paResult == 1; if ($resZC = $RawResponse->response->msgQ->resZC[0]) { $Ret = new PollUpdateDomainResponse($SuperRet->Status, $SuperRet->Code, $SuperRet->ErrMsg); $Ret->HostName = $hostName; $Ret->Result = $result; $Ret->FailReason = (string)$resZC; return $Ret; } elseif (strpos($RawResponse->response->msgQ->msg, "Trade completed")) { $Ret = new ChangeDomainOwnerResponse($SuperRet->Status, $SuperRet->Code, $SuperRet->ErrMsg); $Ret->HostName = $hostName; $Ret->Result = $result; return $Ret; } } } return $SuperRet; }
public function DeleteDomain(Domain $domain, $executeDate = null) { try { // See http://webta.net/support/admin/replies_view.php?id=1257 return parent::DeleteDomain($domain, $executeDate); } catch (ProhibitedTransformException $e) { return new DeleteDomainResponse(REGISTRY_RESPONSE_STATUS::SUCCESS); } }
public function GetRemoteContact(Contact $contact) { $Response = parent::GetRemoteContact($contact); if ($Response->Succeed()) { $EppResponse = $Response->RawResponse; $InfData = $EppResponse->response->extension->children("http://www.norid.no/xsd/no-ext-contact-1.0"); $InfData = $InfData[0]; if ($InfData) { if ($InfData->type[0] == "organization") { $Response->{"no-ext-identity-type"} = (string)$InfData->identity->attributes()->type; $Response->{"no-ext-identity"} = (string)$InfData->identity; } } } return $Response; }
function endSession() { $Resp = $this->Module->GetTransport()->Request('logout', array()); $this->assertTrue($Resp->Code == RFC3730_RESULT_CODE::OK_END_SESSION, "End Session"); }
public function __construct(RegistryManifest $Manifest) { parent::__construct($Manifest); $this->Db = Core::GetDBInstance(); }