示例#1
0
文件: Soa.php 项目: Talesoft/tale-net
 public function __construct($hostName, $sourceHostName, $mailAddress, $serial, $refreshInterval, $retryDelay, $expireTime, $minTtl, $ttl)
 {
     parent::__construct($hostName, RecordType::SOA, $ttl);
     $this->sourceHostName = $sourceHostName;
     $this->mailAddress = $mailAddress;
     $this->serial = $serial;
     $this->refreshInterval = $refreshInterval;
     $this->retryDelay = $retryDelay;
     $this->expireTime = $expireTime;
     $this->minTtl = $minTtl;
 }
示例#2
0
 public function __construct($hostName, $targetHostName, $ttl, $type = null)
 {
     parent::__construct($hostName, $type ? $type : RecordType::CNAME, $ttl);
     $this->_targetHostName = $targetHostName;
 }
示例#3
0
 public function __construct($hostName, $cpu, $os, $ttl)
 {
     parent::__construct($hostName, RecordType::HINFO, $ttl);
     $this->cpu = $cpu;
     $this->os = $os;
 }
示例#4
0
文件: A.php 项目: Talesoft/tale-net
 public function __construct($hostName, Address $address, $ttl, $type = null)
 {
     parent::__construct($hostName, $type ? $type : RecordType::A, $ttl);
     $this->address = $address;
 }
示例#5
0
文件: Txt.php 项目: Talesoft/tale-net
 public function __construct($hostName, $text, $ttl)
 {
     parent::__construct($hostName, RecordType::TXT, $ttl);
     $this->text = $text;
 }