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,34 @@
<?
class hAdminService extends hService
{
function enable()
{
$cmd = new hCommand("A AE", "", $this->context);
$r_code = $this->RRADServer->write($cmd);
return($r_code);
}
function disable()
{
$cmd = new hCommand("A AD", "", $this->context);
$r_code = $this->RRADServer->write($cmd);
return($r_code);
}
function suspend()
{
$cmd = new hCommand("A AS", "", $this->context);
$r_code = $this->RRADServer->write($cmd);
return($r_code);
}
function unsuspend()
{
$cmd = new hCommand("A AU", "", $this->context);
$r_code = $this->RRADServer->write($cmd);
return($r_code);
}
}
?>