Methods |
public
|
get_all_composite_bandwidth_data($grouping = 'month'): array|false
Get bandwidth consumed by period
Get bandwidth consumed by period
|
#
|
public
|
get_cycle_periods(): array
Get bandwidth ranges
Indexes:
begin: start starting rollover date
end: ending rollover date
Get bandwidth ranges
Indexes:
begin: start starting rollover date
end: ending rollover date
|
#
|
public
|
rollover(): int
Retrieve day on which banwidth rolls over to 0
Retrieve day on which banwidth rolls over to 0
|
#
|
public
|
usage(int $type = null): array|bool
Get cumulative bandwidth consumption
Get cumulative bandwidth consumption
Parameters
$type |
type of bandwidth usage to retrieve
|
Returns
indexes begin, rollover, and threshold
|
#
|
public
|
get_by_date(int $begin, int $end = null): array|bool
Get bandwidth consumed during a time interval
Get bandwidth consumed during a time interval
Parameters
$begin |
beginning date
|
$end |
ending date
|
|
#
|
public
|
enabled(): bool
|
#
|
public
|
amnesty(string $marker): bool
Grant bandwidth amnesty until closing date
Grant bandwidth amnesty until closing date
|
#
|
public
|
_delete()
|
#
|
public
|
_edit()
|
#
|
public
|
_edit_user(string $userold, string $usernew, array $oldpwd)
|
#
|
public
|
_verify_conf(ConfigurationContext $ctx): bool
|
#
|
public
|
_create()
|
#
|
public
|
_create_user(string $user)
|
#
|
public
|
_delete_user(string $user)
|
#
|