pm_DomainAlias
in package
Domain alias wrapper
Tags
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
Return values
mixed —getByDomain()
Retrieve domain aliases for the specified domain
public
static getByDomain(pm_Domain $domain) : array<string|int, pm_DomainAlias>
Parameters
- $domain : pm_Domain
Tags
Return values
array<string|int, pm_DomainAlias> —getByDomainAliasId()
Retrieve domain alias by known id
public
static getByDomainAliasId(int $domainAliasId) : pm_DomainAlias
Parameters
- $domainAliasId : int
Tags
Return values
pm_DomainAlias —getDisplayName()
Retrieves domain name as it is displayed in UI
public
getDisplayName() : string
Tags
Return values
string —getDnsZone()
Return DNS zone of domain alias
public
getDnsZone() : pm_Dns_Zone
Tags
Return values
pm_Dns_Zone —getId()
Retrieve domain alias ID.
public
getId() : int
Return values
int —getName()
Retrieves domain alias name in ASCII format
public
getName() : string
Tags
Return values
string —hasSeoRedirect()
Shows whether 301 redirect to HTTPS is enabled on the domain alias
public
hasSeoRedirect() : bool
Tags
Return values
bool —hasServiceDns()
Shows whether DNS service is enabled on the domain alias
public
hasServiceDns() : bool
Tags
Return values
bool —hasServiceMail()
Shows whether mail service is enabled on the domain alias
public
hasServiceMail() : bool
Tags
Return values
bool —hasServiceWeb()
Shows whether web hosting is enabled on the domain alias
public
hasServiceWeb() : bool