Fixes to OSB to work with KH 3.3

This commit is contained in:
Deon George
2012-11-10 10:13:57 +11:00
parent ea36639638
commit 6db02ae77d
238 changed files with 813 additions and 938 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 ORM_OSB {
/**
* The button that provides a login to the Registrar to manage the domain license
*/
public function manage_button(Model_Service_Plugin_Domain $spdo,$t) {
$c = sprintf('Service_Domain_%s',$this->file);
if (! class_exists($c))
return '';
$po = new $c($this->id);
return $po->manage_button($spdo,$t);
}
}
?>

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 ORM_OSB {
protected $_display_filters = array(
'name'=>array(
array('strtoupper',array(':value')),
),
);
}
?>