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/application/classes/Model/Country.php

18 lines
416 B
PHP
Raw Normal View History

2010-11-29 22:41:08 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* OSB Country Model
*
* @package OSB
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
* @license http://dev.osbill.net/license.html
2010-11-29 22:41:08 +00:00
*/
class Model_Country extends ORM_OSB {
2012-07-30 06:01:30 +00:00
public function currency() {
2012-11-09 23:13:57 +00:00
return ORM::factory('Currency')->where('country_id','=',$this->id)->find();
2012-07-30 06:01:30 +00:00
}
2010-11-29 22:41:08 +00:00
}
?>