Major work to domain and hosting

Minor updates for ADSL services
Updates to Sort::MAsort()
Move core OSB items under application/
Moved ACCOUNT functions under application
Minor updates to task
This commit is contained in:
Deon George
2011-09-28 16:46:22 +10:00
parent 147d035e46
commit 130a87aa9a
199 changed files with 1536 additions and 10742 deletions

View File

@@ -0,0 +1,27 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class supports Domain TLD Registrars
*
* @package OSB
* @subpackage Host_TLD_Registrar
* @category Models
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Model_Domain_Registrar extends ORMOSB {
/**
* The button that provides a login to the Registrar to manage the domain license
*/
public function manage_button($u,$p,$d) {
$c = sprintf('Service_Domain_%s',$this->file);
if (! class_exists($c))
return '';
$po = new $c($this->id);
return $po->manage_button($u,$p,$d);
}
}
?>

View File

@@ -0,0 +1,20 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class supports Domain TLD
*
* @package OSB
* @subpackage Domains
* @category Models
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Model_Domain_TLD extends ORMOSB {
protected $_display_filters = array(
'name'=>array(
array('strtoupper',array(':value')),
),
);
}
?>