35 lines
674 B
PHP
35 lines
674 B
PHP
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||
|
|
||
|
/**
|
||
|
* This class supports ADSL products
|
||
|
*
|
||
|
* @package ADSL
|
||
|
* @category Models
|
||
|
* @author Deon George
|
||
|
* @copyright (c) 2009-2013 Open Source Billing
|
||
|
* @license http://dev.osbill.net/license.html
|
||
|
*/
|
||
|
class Model_Product_Plugin_Voip extends Model_Product_Plugin {
|
||
|
protected $_table_name = 'voip_plan';
|
||
|
|
||
|
// Our required abstract methods
|
||
|
|
||
|
public function cost($annual=FALSE) {
|
||
|
$x = 50;
|
||
|
|
||
|
return $annual ? $x*12 : $x;
|
||
|
}
|
||
|
|
||
|
// @todo Select the ADSL Plan for this product.
|
||
|
public function render_edit() {
|
||
|
return '';
|
||
|
}
|
||
|
|
||
|
public function supplier() {
|
||
|
return '';
|
||
|
}
|
||
|
|
||
|
// Local functions
|
||
|
}
|
||
|
?>
|