-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the php-epp2 library. | ||
* | ||
* (c) Gunter Grodotzki <[email protected]> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
* | ||
* For the full copyright and license information, please view the LICENSE file | ||
* that was distributed with this source code. | ||
*/ | ||
|
||
namespace AfriCC\EPP\Extension\NICMX\Info; | ||
|
||
use AfriCC\EPP\Frame\Command\Info as Info; | ||
use AfriCC\EPP\ExtensionInterface as Extension; | ||
|
||
/** | ||
* @link https://www.registry.net.za/content.php?wiki=1&contentid=18&title=EPP%20Contact%20Extensions | ||
This comment has been minimized.
Sorry, something went wrong. |
||
*/ | ||
class Rar extends Info implements Extension | ||
{ | ||
protected $extension_xmlns = 'http://www.nic.mx/rar-1.0'; | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
|
||
$this->set(null, ''); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
} | ||
|
||
public function getExtensionNamespace() | ||
{ | ||
return $this->extension_xmlns; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the php-epp2 library. | ||
* | ||
* (c) Gunter Grodotzki <[email protected]> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
* | ||
* For the full copyright and license information, please view the LICENSE file | ||
* that was distributed with this source code. | ||
*/ | ||
|
||
namespace AfriCC\EPP\Extension\NICMX\Restore; | ||
|
||
use AfriCC\EPP\Frame\Command\Renew as Renew; | ||
use AfriCC\EPP\ExtensionInterface as Extension; | ||
|
||
class Domain extends Renew implements Extension | ||
{ | ||
protected $extension = 'nicmx-domrst'; | ||
protected $extension_xmlns = 'http://www.nic.mx/nicmx-domrst-1.0'; | ||
|
||
public function setDomain($domain) | ||
{ | ||
$this->set('//epp:epp/epp:command/epp:renew/nicmx-domrst:restore/nicmx-domrst:name', $domain); | ||
} | ||
|
||
public function getExtensionNamespace() | ||
{ | ||
return $this->extension_xmlns; | ||
} | ||
} |
2 comments
on commit 36629cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I just did a full review. Looks pretty solid - amazing understanding of the library. Would be happy to PR after the minor changes are done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hehe great, I'll do these minor changes and send you the PR.
Solid!