Moved functions from OSB and lnAuth

This commit is contained in:
Deon George
2016-08-31 21:51:58 +10:00
parent f5bc5dfa29
commit 7e632cf785
7 changed files with 46 additions and 58 deletions

View File

@@ -10,6 +10,14 @@
* @license http://dev.leenooks.net/license.html
*/
abstract class lnApp_Model_Country extends ORM {
protected $_has_one = array(
'currency'=>array('far_key'=>'id'),
);
protected $_has_many = array(
'tax'=>array('far_key'=>'id'),
);
protected $_sorting = array(
'name'=>'ASC',
);