20 lines
476 B
PHP
20 lines
476 B
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
/**
|
|
* This class supports affiliates
|
|
*
|
|
* @package OSB
|
|
* @subpackage Affiliate
|
|
* @category Models
|
|
* @author Deon George
|
|
* @copyright (c) 2010 Open Source Billing
|
|
* @license http://dev.osbill.net/license.html
|
|
*/
|
|
class Model_Affiliate extends ORM_OSB {
|
|
// Relationships
|
|
protected $_belongs_to = array(
|
|
'host_server_affiliate'=>array('far_key'=>'affiliate_id','foreign_key'=>'id'),
|
|
);
|
|
}
|
|
?>
|