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/adsl/classes/Model/ADSL/Plan.php

39 lines
998 B
PHP
Raw Normal View History

2010-11-29 22:41:08 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class supports ADSL Plans
*
2013-03-19 22:35:19 +00:00
* @package ADSL
2010-11-29 22:41:08 +00:00
* @category Models
* @author Deon George
2013-03-19 22:35:19 +00:00
* @copyright (c) 2009-2013 Open Source Billing
2010-11-29 22:41:08 +00:00
* @license http://dev.osbill.net/license.html
*/
class Model_ADSL_Plan extends ORM_OSB {
2010-11-29 22:41:08 +00:00
// Relationships
// @todo This model should probably be joined with product_plugin_adsl
2010-11-29 22:41:08 +00:00
protected $_belongs_to = array(
'adsl_supplier_plan'=>array(),
);
protected $_display_filters = array(
2010-11-29 22:41:08 +00:00
'extra_down_peak'=>array(
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
2010-11-29 22:41:08 +00:00
),
'extra_down_offpeak'=>array(
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
2010-11-29 22:41:08 +00:00
),
'extra_up_peak'=>array(
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
2010-11-29 22:41:08 +00:00
),
'extra_up_offpeak'=>array(
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
2010-11-29 22:41:08 +00:00
),
);
}
?>