Struct that makes it easy for a module set to manage a list of server connections
| Methods | ||||||
|---|---|---|---|---|---|---|
public
static
|
init($name, $user_config, $session)
|
# | ||||
public
static
|
add(array $atts, $save = true): void
Add a server definition
Add a server definition Parameters
|
# | ||||
public
static
|
dump(int $id = false, bool $full = false): array
Return all server details
Return all server details Parameters
Returnsserver details |
# | ||||
protected
static
|
getDataset(): array
Get the dataset for the server list
Get the dataset for the server list |
# | ||||
public
static
|
get(int $id, bool $full): array
Parameters
|
# | ||||
public
static
|
clean($server)
|
# | ||||
public
static
|
fetch(string $username, string $servername): array|false
Fetch a server by the username and servername
Fetch a server by the username and servername Parameters
|
# | ||||
public
static
|
getForMailbox($id)
|
# | ||||
public
static
|
dumpForMailbox($id = false)
|
# | ||||