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

	static $has_many = array(
		array('property_amenities'),
		array('amenities', 'through' => 'property_amenities')
	);
};
?>
Return current item: ActiveRecord