From d02889a918f7c4d58d8ea5ff4c1d977c5a2be64c Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Wed, 3 Aug 2016 13:35:54 +0200 Subject: [PATCH] Allow setting a string 'keyinfo' --- includes/class/Zone.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/class/Zone.php b/includes/class/Zone.php index fc2f57e..f2bccab 100644 --- a/includes/class/Zone.php +++ b/includes/class/Zone.php @@ -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) {