mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-22 18:45:59 +02:00
Added host:create EPP command
This commit is contained in:
parent
1d31db8e6c
commit
2bcba151f4
4 changed files with 217 additions and 1 deletions
|
@ -842,7 +842,7 @@ class EppWriter {
|
|||
$writer->writeAttribute('xmlns:host', 'urn:ietf:params:xml:ns:host-1.0');
|
||||
$writer->writeAttribute('xsi:schemaLocation', 'urn:ietf:params:xml:ns:host-1.0 host-1.0.xsd');
|
||||
$writer->writeElement('host:name', $resp['name']);
|
||||
$writer->writeElement('host:crDate', $resp['crDate']);
|
||||
$writer->writeElement('host:crDate', gmdate('Y-m-d\TH:i:s\.0\Z', strtotime($resp['crDate'])));
|
||||
$writer->endElement(); // End of 'host:creData'
|
||||
$writer->endElement(); // End of 'resData'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue