35 lines
792 B
PHP
35 lines
792 B
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
/**
|
|
* This class supports SSL products
|
|
*
|
|
* @package SSL
|
|
* @category Models
|
|
* @author Deon George
|
|
* @copyright (c) 2009-2013 Open Source Billing
|
|
* @license http://dev.osbill.net/license.html
|
|
*/
|
|
class Model_Product_Plugin_Ssl extends Model_Product_Plugin {
|
|
protected $_table_name = 'ssl';
|
|
|
|
// Our required abstract methods
|
|
public function render_edit() {}
|
|
|
|
public function cost($annual=FALSE) {
|
|
$x = 0;
|
|
|
|
return $annual ? $x*12 : $x;
|
|
}
|
|
|
|
public function feature_summary() {
|
|
// @todo This view should render based on the the results of this::allowance();
|
|
return View::factory('product/plugin/ssl/feature_summary')
|
|
->set('po',$this);
|
|
}
|
|
|
|
public function supplier() {
|
|
return 'internal';
|
|
}
|
|
}
|
|
?>
|