Documentation

pm_DomainAlias
in package

Domain alias wrapper

Tags
since
18.0.33

Table of Contents

__construct()  : mixed
Create new domain alias wrapper
getByDomain()  : array<string|int, pm_DomainAlias>
Retrieve domain aliases for the specified domain
getByDomainAliasId()  : pm_DomainAlias
Retrieve domain alias by known id
getDisplayName()  : string
Retrieves domain name as it is displayed in UI
getDnsZone()  : pm_Dns_Zone
Return DNS zone of domain alias
getId()  : int
Retrieve domain alias ID.
getName()  : string
Retrieves domain alias name in ASCII format
hasSeoRedirect()  : bool
Shows whether 301 redirect to HTTPS is enabled on the domain alias
hasServiceDns()  : bool
Shows whether DNS service is enabled on the domain alias
hasServiceMail()  : bool
Shows whether mail service is enabled on the domain alias
hasServiceWeb()  : bool
Shows whether web hosting is enabled on the domain alias

Methods

__construct()

Create new domain alias wrapper

public __construct(int $domainAliasId) : mixed
Parameters
$domainAliasId : int
Tags
throws
pm_Exception
Return values
mixed

getDisplayName()

Retrieves domain name as it is displayed in UI

public getDisplayName() : string
Tags
since
18.0.42
Return values
string

getId()

Retrieve domain alias ID.

public getId() : int
Return values
int

getName()

Retrieves domain alias name in ASCII format

public getName() : string
Tags
since
18.0.42
Return values
string

hasSeoRedirect()

Shows whether 301 redirect to HTTPS is enabled on the domain alias

public hasSeoRedirect() : bool
Tags
since
18.0.42
Return values
bool

hasServiceDns()

Shows whether DNS service is enabled on the domain alias

public hasServiceDns() : bool
Tags
since
18.0.42
Return values
bool

hasServiceMail()

Shows whether mail service is enabled on the domain alias

public hasServiceMail() : bool
Tags
since
18.0.42
Return values
bool

hasServiceWeb()

Shows whether web hosting is enabled on the domain alias

public hasServiceWeb() : bool
Tags
since
18.0.42
Return values
bool

Search results