Class User
User.
- Omines\DirectAdmin\Objects\BaseObject
- Omines\DirectAdmin\Objects\Users\User
Direct known subclasses
Indirect known subclasses
Namespace: Omines\DirectAdmin\Objects\Users
Author: Niels Keurentjes niels.keurentjes@omines.com
Located at DirectAdmin/Objects/Users/User.php
Author: Niels Keurentjes niels.keurentjes@omines.com
Located at DirectAdmin/Objects/Users/User.php
Methods summary
public
|
#
__construct( string $name,
Construct the object. |
public
|
|
public
|
#
createDatabase( string $name, string $username, string|null $password = null )
Creates a new database under this user. |
public
|
#
createDomain( string $domainName, float|null $bandwidthLimit = null, float|null $diskLimit = null, boolean|null $ssl = null, boolean|null $php = null, boolean|null $cgi = null )
Creates a new domain under this user. |
public
string
|
|
public
float|null
|
|
public
float
|
|
public
integer|null
|
|
public
integer
|
|
public
float|null
|
|
public
float
|
|
public
|
|
public
integer|null
|
|
public
integer
|
|
public
boolean
|
|
public
|
|
public
null|
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
|
#
modifyConfig( array $newConfig )
Modifies the configuration of the user. For available keys in the array check the documentation on CMD_API_MODIFY_USER in the linked document. |
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
#
fromConfig( array $config,
Constructs the correct object from the given user config. |
protected
|
|
protected
|
|
protected
boolean
|
Methods inherited from Omines\DirectAdmin\Objects\BaseObject
getCache()
,
getCacheItem()
,
getContext()
,
getName()
,
setCache()
,
toObjectArray()
,
toRichObjectArray()
Constants summary
string |
CACHE_CONFIG
|
#
'config'
|
string |
CACHE_DATABASES
|
#
'databases'
|
string |
CACHE_USAGE
|
#
'usage'
|