Documentation

pm_Dns_Zone
in package

Panel dns wrapper

Tags
since
18.0.33

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

getDisplayName()

Return host display name of DNS Zone.

public getDisplayName() : string|null
Tags
since
18.0.36
Return values
string|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

isEnabled()

Return true if DNS zone enabled.

public isEnabled() : bool
Return values
bool

isMaster()

Return true if DNS zone is master.

public isMaster() : bool
Return values
bool

Search results