Location: PHPKode > projects > ActiveRecord > php-activerecord/test/models/PropertyAmenity.php
<?php
class PropertyAmenity extends ActiveRecord\Model
{
	static $table_name = 'property_amenities';
	static $primary_key = 'id';

	static $belongs_to = array(
		array('amenity'),
		array('property')
	);
};
?>
Return current item: ActiveRecord