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
2013-10-29 10:42:59 +11:00

35 lines
793 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 admin_update() {}
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';
}
}
?>