Bandwidth_Module

Bandwidth statistics
extends Module\Skeleton\Standard implements Opcenter\Contracts\Hookable
Methods Summary
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
# rollover( )
Retrieve day on which banwidth rolls over to 0
public
# usage( int $type = NULL )
Get cumulative bandwidth consumption

privilege


public
# get_by_date( int $begin , int $end = NULL )
Get bandwidth consumed during a time interval
public
# enabled( )
public
# amnesty( string $marker )
Grant bandwidth amnesty until closing date
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(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), _resetModule(), cleanUserParameters(), query()
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 Summary
protected $exportedFunctions

# array ( '*' => 2, 'amnesty' => 8, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id