PHP Class Helper\Stats

Exibir arquivo Open project: sendya/shadowsocks-panel Class Usage Examples

Public Methods

Method Description
countMoney ( ) : integer Count money
countNode ( integer $type ) : integer Count node
countOnline ( ) : integer Count last connect time f 600s
countSignUser ( ) : integer Count sign user
countTransfer ( ) : integer Usage for all users
countUseUser ( ) : integer 使用过服务的用户
countUser ( ) : integer Count all user
dataUsage ( integer $type ) : integer 后端统计 使用量区间
onlineUsage ( integer $type ) : integer 后端统计 在线时间区间

Method Details

countMoney() public static method

Count money
public static countMoney ( ) : integer
return integer money

countNode() public static method

Count node
public static countNode ( integer $type ) : integer
$type integer
return integer

countOnline() public static method

Count last connect time f 600s
public static countOnline ( ) : integer
return integer

countSignUser() public static method

Count sign user
public static countSignUser ( ) : integer
return integer

countTransfer() public static method

Usage for all users
public static countTransfer ( ) : integer
return integer

countUseUser() public static method

使用过服务的用户
public static countUseUser ( ) : integer
return integer

countUser() public static method

Count all user
public static countUser ( ) : integer
return integer

dataUsage() public static method

后端统计 使用量区间
public static dataUsage ( integer $type ) : integer
$type integer
return integer

onlineUsage() public static method

后端统计 在线时间区间
public static onlineUsage ( integer $type ) : integer
$type integer
return integer