Property | Type | Description | |
---|---|---|---|
$_params | array | Driver parameters. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
getMessages ( ) : array | Returns the quota messages variants, including sprintf placeholders. | |
getQuota ( string $mailbox = null ) : array | Get quota information (used/allocated), in bytes. | |
getUnit ( ) : array | Determine the units of storage to display in the quota message. | |
isHiddenWhenUnlimited ( ) : boolean | Should quota be displayed if no limit is configured? |
public __construct ( array $params = [] ) | ||
$params | array | Parameters: - unit: (string) What storage unit the quota messages should be displayed in. Either 'GB', 'MB', or 'KB'. - username: (string) The username to query. |
public getMessages ( ) : array | ||
return | array | An array with quota message templates. |
public isHiddenWhenUnlimited ( ) : boolean | ||
return | boolean | Whether to hide the quota. |