Open Source Billing
This commit is contained in:
26
modules/domain/classes/Model/Domain/Registrar.php
Normal file
26
modules/domain/classes/Model/Domain/Registrar.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This class supports Domain TLD Registrars
|
||||
*
|
||||
* @package Domain
|
||||
* @category Models
|
||||
* @author Deon George
|
||||
* @copyright (c) 2009-2013 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);
|
||||
}
|
||||
}
|
||||
?>
|
19
modules/domain/classes/Model/Domain/TLD.php
Normal file
19
modules/domain/classes/Model/Domain/TLD.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This class supports Domain TLD
|
||||
*
|
||||
* @package Domain
|
||||
* @category Models
|
||||
* @author Deon George
|
||||
* @copyright (c) 2009-2013 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')),
|
||||
),
|
||||
);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user