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/hAdminInfo.php

29 lines
588 B
PHP
Raw Normal View History

<?
class hAdminInfo extends hInfo
{
var $fields;
function hAdminInfo(&$domaincon)
{
$this->fields = array ("SalesRep", "ExternalID");
$this->RRADRetrieveCommand = &new hCommand("I RA","",$domaincon);
$this->RRADUpdateCommand = &new hCommand("I UA","",$domaincon);
}
function getRRADUpdateCommand()
{
for ($i=0; $i<sizeof($this->fields); $i++)
{
$fn = $this->fields[$i];
if ($i > 0)
$suffix .= " ";
$suffix .= str_replace(" ", chr(31), $this->properties[$fn]);
}
$this->RRADUpdateCommand->suffix = $suffix;
return $this->RRADUpdateCommand;
}
}
?>