Initial Commit of AgileBill Open Source
This commit is contained in:
34
plugins/provision/_rrad/hAdminService.php
Normal file
34
plugins/provision/_rrad/hAdminService.php
Normal 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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user