Class Domain
Encapsulates a domain and its derived objects, like aliases, pointers and mailboxes.
- Omines\DirectAdmin\Objects\BaseObject
- Omines\DirectAdmin\Objects\Domain
Namespace: Omines\DirectAdmin\Objects
Author: Niels Keurentjes niels.keurentjes@omines.com
Located at DirectAdmin/Objects/Domain.php
Author: Niels Keurentjes niels.keurentjes@omines.com
Located at DirectAdmin/Objects/Domain.php
Methods summary
public
|
#
__construct( string $name,
Construct the object. |
public static
|
#
create(
Creates a new domain under the specified user. |
public
|
|
public
|
#
createMailbox( string $prefix, string $password, integer|null $quota = null, integer|null $sendLimit = null )
Creates a new mailbox. |
public
|
|
public
|
|
public
|
|
public
string[]
|
|
public
float
|
|
public
float|null
|
|
public
string|null
|
|
public
float
|
|
public
string
|
|
public
string[]
|
|
public
|
|
public
|
|
public
|
|
public
string[]
|
|
public
|
|
public
array
|
#
invokePost( string $command, string $action, array $parameters = [], boolean $clearCache = true )
Invokes a POST command on a domain object. |
public
|
|
public
string
|
Methods inherited from Omines\DirectAdmin\Objects\BaseObject
clearCache()
,
getCache()
,
getCacheItem()
,
getContext()
,
getName()
,
setCache()
,
toObjectArray()
,
toRichObjectArray()
Constants summary
string |
CACHE_FORWARDERS
|
#
'forwarders'
|
string |
CACHE_MAILBOXES
|
#
'mailboxes'
|
string |
CACHE_SUBDOMAINS
|
#
'subdomains'
|
string |
CATCHALL_BLACKHOLE
|
#
':blackhole:'
|
string |
CATCHALL_FAIL
|
#
':fail:'
|