| 12345678910111213141516171819202122 |
- <?php
- /**
- * @package Net_EPP
- */
- abstract class Net_EPP_Frame_Command_Renew extends Net_EPP_Frame_Command {
- function __construct($type) {
- parent::__construct('renew', $type);
- }
- function addObject($object) {
- $type = strtolower(str_replace(__CLASS__.'_', '', get_class($this)));
- $this->payload->appendChild($this->createElementNS(
- Net_EPP_ObjectSpec::xmlns($type),
- $type.':'.Net_EPP_ObjectSpec::id($type),
- $object
- ));
- }
- }
- ?>
|