\pm_Dns_Zone

Panel dns wrapper

Summary

Methods
Properties
Constants
enable()
disable()
isEnabled()
isMaster()
getSoaRecord()
getId()
getName()
getDisplayName()
getRecords()
getRecordsByType()
getById()
getDomain()
getDomainAlias()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

enable()

enable() 

Enable DNS zone.

disable()

disable() 

Disable DNS zone.

isEnabled()

isEnabled() : boolean

Return true if DNS zone enabled.

Returns

boolean

isMaster()

isMaster() : boolean

Return true if DNS zone is master.

Returns

boolean

getSoaRecord()

getSoaRecord() : \pm_Dns_SoaRecord

Return SOA record of DNS Zone.

Returns

\pm_Dns_SoaRecord

getId()

getId() : integer

Return id of DNS Zone.

Returns

integer

getName()

getName() : string|null

Return host name of DNS Zone.

Returns

string|null

getDisplayName()

getDisplayName() : string|null

Return host display name of DNS Zone.

Returns

string|null

getRecords()

getRecords() : \[]pm_Dns_Record

Return dns records of dns zone.

Returns

\[]pm_Dns_Record

getRecordsByType()

getRecordsByType(string  $type) : \[]pm_Dns_Record

Return dns records of dns zone by type.

Parameters

string $type

Returns

\[]pm_Dns_Record

getById()

getById(integer  $zoneId) : \pm_Dns_Zone

Return DNS zone by zone ID.

Parameters

integer $zoneId

Throws

\pm_Exception

Returns

\pm_Dns_Zone

getDomain()

getDomain() : \pm_Domain|null

Return domain of DNS zone.

Throws

\pm_Exception

Returns

\pm_Domain|null

getDomainAlias()

getDomainAlias() : \pm_DomainAlias|null

Return domain alias of DNS zone.

Throws

\pm_Exception

Returns

\pm_DomainAlias|null