Bandwidth_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard implements Opcenter\Contracts\Hookable
Methods Summary
public
public
# get_all_composite_bandwidth_data( $grouping = 'month' )
Get bandwidth consumed by period
public
# get_cycle_periods( )
Get bandwidth ranges Indexes: begin: start starting rollover date end: ending rollover date
public
# get_by_date( string $begin , string $end = NULL )
Get bandwidth consumed during a time interval
public
# enabled( )
public
public
public
# _edit_user( string $userold , string $usernew , array $oldpwd )
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
public
public
public
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'siteinfo', 1 => 'apache', )
public string BW_DIR
# '/var/log/bw'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql