Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 7817978d39
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (21 sloc) 0.803 kB
<?php defined('SYSPATH') or die('No direct script access.');
/**
* Model for Locations
*
* PHP version 5
* LICENSE: This source file is subject to LGPL license
* that is available through the world-wide-web at the following URI:
* http://www.gnu.org/copyleft/lesser.html
* @author Ushahidi Team <team@ushahidi.com>
* @package Ushahidi - http://source.ushahididev.com
* @module Location Model
* @copyright Ushahidi - http://www.ushahidi.com
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
*/
class Location_Model extends ORM
{
protected $has_many = array('incident', 'media', 'incident_person', 'feed_item', 'reporter');
protected $has_one = array('country');
// Database table name
protected $table_name = 'location';
}
Jump to Line
Something went wrong with that request. Please try again.