Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/classes/Model/auction/offer.php
<?php defined('SYSPATH') or die('No direct access allowed.');

class Model_Auction_Offer extends ORM {

   protected $_belongs_to = array('user' => array(), 'blog' => array());
   


   static public function getOffers( $id ) {
   
		$auction_offer = ORM::Factory('auction_offer')->where('auctions_id','=', $id)->order_by('amount','desc')->find_all();
		return $auction_offer;
   
   }

}