mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-05 01:01:30 +02:00
Added EPP contact create
This commit is contained in:
parent
69abcd237b
commit
ac0a2773f4
3 changed files with 397 additions and 63 deletions
|
@ -617,7 +617,7 @@ class EppWriter {
|
|||
$writer->writeAttribute('xmlns:contact', 'urn:ietf:params:xml:ns:contact-1.0');
|
||||
$writer->writeAttribute('xsi:schemaLocation', 'urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd');
|
||||
$writer->writeElement('contact:id', $resp['id']);
|
||||
$writer->writeElement('contact:crDate', $resp['crDate']);
|
||||
$writer->writeElement('contact:crDate', gmdate('Y-m-d\TH:i:s\.0\Z', strtotime($resp['crDate'])));
|
||||
$writer->endElement(); // End of 'contact:creData'
|
||||
$writer->endElement(); // End of 'resData'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue