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/modules/host/classes/Model/Product/Plugin/Host.php

43 lines
837 B
PHP
Raw Permalink Normal View History

2013-10-10 02:44:53 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class supports Host products
*
* @package Host
* @category Models
* @author Deon George
* @copyright (c) 2009-2013 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
class Model_Product_Plugin_Host extends Model_Product_Plugin {
// Our required abstract methods
2013-10-28 23:36:57 +00:00
public function cost($annual=FALSE) {
// @todo
2013-10-28 23:36:57 +00:00
$x = 0;
return $annual ? $x*12 : $x;
}
public function render_edit() {}
2013-10-28 23:36:57 +00:00
// @todo
2013-10-28 23:36:57 +00:00
public function supplier() {
return 'internal';
2013-10-10 02:44:53 +00:00
}
2013-11-28 06:41:34 +00:00
// Overload functions
// @todo This model doesnt have a database table
public function __construct() {
}
// Not used
public function render_view() {}
// Local functions
// @todo This is not used, but should be.
public function order_features() {}
2013-10-10 02:44:53 +00:00
}
?>