| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace MGModule\DNSManager2\mgLibs\custom\dns\submodules\cPanel;
- use MGModule\DNSManager2\mgLibs\custom\dns\record\Record;
- class CAAAdapter extends Record
- {
- /**
- * CAAAdapter constructor.
- * @param Record $record
- */
- public function __construct( Record $record)
- {
- $this->type = 'CAA';
- $this->name = $record->name;
- $this->absoluteName = $record->absoluteName;
- $this->ttl = $record->ttl;
- $this->class = $record->class;
- $this->line = $record->line;
- $this->customData = $record->customData;
- $this->rdlength = $record->rdlength;
- $this->rdata = new CpanelRecordAdapterType();
- $this->rdata->value = $record->rdata->target;
- $this->rdata->flag = $record->rdata->flag;
- $this->rdata->tag = $record->rdata->tag;
- }
- }
|