Allow setting a string 'keyinfo'

This commit is contained in:
Mark Schouten 2016-08-03 13:35:54 +02:00
parent f61f52a14d
commit d02889a918

View file

@ -10,6 +10,7 @@ class Zone {
$this->dnssec = '';
$this->soa_edit = '';
$this->soa_edit_api = '';
$this->keyinfo = '';
$this->account = '';
$this->nameservers = Array();
$this->rrsets = Array();
@ -43,6 +44,10 @@ class Zone {
array_push($this->rrsets, $toadd); }
}
public function setkeyinfo($info) {
$this->keyinfo = $info;
}
public function addnameserver($nameserver) {
foreach ($this->nameservers as $ns) {
if ($nameserver == $ns) {