This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/plugins/provision/_rrad/hAdminService.php
2008-11-26 14:50:40 -08:00

35 lines
795 B
PHP

<?
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);
}
}
?>