Skip to content


Subversion checkout URL

You can clone with
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:
* @author Ushahidi Team <>
* @package Ushahidi -
* @module Location Model
* @copyright Ushahidi -
* @license 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.