Skip to content


Subversion checkout URL

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

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.741 kB
<?php defined('SYSPATH') or die('No direct script access.');
* Model for Ratings of comments and incidents
* 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 Rating Model
* @copyright Ushahidi -
* @license GNU Lesser General Public License (LGPL)
class Rating_Model extends ORM
protected $belongs_to = array('incident', 'comment');
// Database table name
protected $table_name = 'rating';
Jump to Line
Something went wrong with that request. Please try again.