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,25 @@
<?
class hCommand
{
var $prefix;
var $suffix;
var $domain;
var $delim = " ";
function assemble()
{
$cmd = $this->prefix.$this->delim.$this->domain;
if (strlen($this->suffix)>0)
$cmd .= $this->delim.$this->suffix;
return $cmd;
}
function hCommand($prefix="",$suffix="", $domaincon=false)
{
$this->prefix = $prefix;
$this->suffix = $suffix;
if (is_object($domaincon))
$this->domain = $domaincon->getName();
}
}
?>