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.
halmon/application/classes/Model/Account.php
2013-10-17 15:15:13 +11:00

24 lines
595 B
PHP

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Our Account Model
*
* @package HAlMon
* @category Models
* @author Deon George
* @copyright (c) 2010 Deon George
* @license http://dev.leenooks.net/license.html
*/
class Model_Account extends ORM {
protected $_has_one = array(
'model'=>array('foreign_key'=>'id'),
);
protected $_has_many = array(
'contact'=>array('far_key'=>'id'),
'trigger'=>array('far_key'=>'id'),
'paneluser'=>array('model'=>'PanelUser','far_key'=>'id'),
'panelzone'=>array('model'=>'PanelZone','far_key'=>'id'),
);
}
?>