pm_Dns_Zone
in package
Panel dns wrapper
Tags
Table of Contents
- disable() : void
- Disable DNS zone.
- enable() : void
- Enable DNS zone.
- getById() : pm_Dns_Zone
- Return DNS zone by zone ID.
- getDisplayName() : string|null
- Return host display name of DNS Zone.
- getDomain() : pm_Domain|null
- Return domain of DNS zone.
- getDomainAlias() : pm_DomainAlias|null
- Return domain alias of DNS zone.
- getId() : int
- Return id of DNS Zone.
- getName() : string|null
- Return host name of DNS Zone.
- getRecords() : array<string|int, mixed>|pm_Dns_Record
- Return dns records of dns zone.
- getRecordsByType() : array<string|int, mixed>|pm_Dns_Record
- Return dns records of dns zone by type.
- getSoaRecord() : pm_Dns_SoaRecord
- Return SOA record of DNS Zone.
- isEnabled() : bool
- Return true if DNS zone enabled.
- isMaster() : bool
- Return true if DNS zone is master.
Methods
disable()
Disable DNS zone.
public
disable() : void
Return values
void —enable()
Enable DNS zone.
public
enable() : void
Return values
void —getById()
Return DNS zone by zone ID.
public
static getById(int $zoneId) : pm_Dns_Zone
Parameters
- $zoneId : int
Tags
Return values
pm_Dns_Zone —getDisplayName()
Return host display name of DNS Zone.
public
getDisplayName() : string|null
Tags
Return values
string|null —getDomain()
Return domain of DNS zone.
public
getDomain() : pm_Domain|null
Tags
Return values
pm_Domain|null —getDomainAlias()
Return domain alias of DNS zone.
public
getDomainAlias() : pm_DomainAlias|null
Tags
Return values
pm_DomainAlias|null —getId()
Return id of DNS Zone.
public
getId() : int
Return values
int —getName()
Return host name of DNS Zone.
public
getName() : string|null
Return values
string|null —getRecords()
Return dns records of dns zone.
public
getRecords() : array<string|int, mixed>|pm_Dns_Record
Return values
array<string|int, mixed>|pm_Dns_Record —getRecordsByType()
Return dns records of dns zone by type.
public
getRecordsByType(string $type) : array<string|int, mixed>|pm_Dns_Record
Parameters
- $type : string
Return values
array<string|int, mixed>|pm_Dns_Record —getSoaRecord()
Return SOA record of DNS Zone.
public
getSoaRecord() : pm_Dns_SoaRecord
Return values
pm_Dns_SoaRecord —isEnabled()
Return true if DNS zone enabled.
public
isEnabled() : bool
Return values
bool —isMaster()
Return true if DNS zone is master.
public
isMaster() : bool