mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Update Zone.php
This commit is contained in:
parent
cae4e4ff93
commit
758a021ca2
1 changed files with 15 additions and 0 deletions
|
@ -236,6 +236,13 @@ class Zone {
|
|||
}
|
||||
|
||||
class RRSet {
|
||||
public $name;
|
||||
public $type;
|
||||
public $ttl;
|
||||
public $changetype;
|
||||
public $records;
|
||||
public $comments;
|
||||
|
||||
public function __construct($name = '', $type = '', $content = '', $disabled = FALSE, $ttl = 3600, $setptr = FALSE) {
|
||||
$this->name = $name;
|
||||
$this->type = $type;
|
||||
|
@ -321,6 +328,10 @@ class RRSet {
|
|||
}
|
||||
|
||||
class Record {
|
||||
public $content;
|
||||
public disabled;
|
||||
public $setptr;
|
||||
|
||||
public function __construct($content, $disabled = FALSE, $setptr = FALSE) {
|
||||
$this->content = $content;
|
||||
$this->disabled = $disabled;
|
||||
|
@ -341,6 +352,10 @@ class Record {
|
|||
}
|
||||
|
||||
class Comment {
|
||||
public $content;
|
||||
public $account;
|
||||
public $modified_at;
|
||||
|
||||
public function __construct($content, $account, $modified_at) {
|
||||
$this->content = $content;
|
||||
$this->account = $account;
|
||||
|
|
Loading…
Add table
Reference in a new issue