Initial Commit of AgileBill Open Source

This commit is contained in:
unknown
2008-11-26 14:50:40 -08:00
parent ae5a0fc25e
commit 02306ccc47
2954 changed files with 410976 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?
class hUsageInfo extends hInfo
{
var $startMonth;
var $endMonth;
function hUsageInfo($startMonth, $endMonth, $domaincon)
{
$this->startMonth = $startMonth;
$this->endMonth = $endMonth;
$this->fields = array ("Month", "Bandwidth", "Diskusage",
"MailboxesUsed", "Mailboxes");
$this->RRADRetrieveCommand = &new hCommand("I RU","",$domaincon);
}
function getRRADRetrieveCommand()
{
if (strlen($this->startMonth)>0 )
$this->RRADRetrieveCommand->suffix .= $this->startMonth;
if (strlen($this->endMonth)>0 )
$this->RRADRetrieveCommand->suffix .= " ".$this->endMonth;
return $this->RRADRetrieveCommand;
}
}
?>