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/ssl/classes/Model/Product/Plugin/Ssl.php

35 lines
792 B
PHP
Raw Normal View History

2013-10-10 02:44:53 +00:00
<?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() {}
2013-10-10 02:44:53 +00:00
2013-10-28 23:36:57 +00:00
public function cost($annual=FALSE) {
$x = 0;
return $annual ? $x*12 : $x;
}
2013-10-10 02:44:53 +00:00
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);
}
2013-10-28 23:36:57 +00:00
public function supplier() {
return 'internal';
}
2013-10-10 02:44:53 +00:00
}
?>