<?php defined('SYSPATH') or die('No direct access allowed.'); /** * This class supports affiliates * * @package Affiliate * @category Models * @author Deon George * @copyright (c) 2009-2013 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'), ); } ?>