<?php
require_once(DIR_FS_ADMIN.DIR_WS_CLASSES.'export_target_import_ship.php');
/**
 * export_target_imports class 
 *
 */
class export_target_import_ships extends databasetable
{
	/**
	 * initiates the export_target_imports class
	 *
	 */
	function export_target_import_ships(){
		$this->set_tablename(TABLE_EXPORT_TARGET_IMPORT_SHIPS);
		$this->set_index('export_target_import_ships_id');
	}
	
	/**
	 * return a export_target_import object
	 *
	 * @param integer $id
	 * @return object
	 */
	function get_export_target_import_ship($id){
		$values = $this->get_row_by_index($id);
		$export_target_import_ship_instance = new export_target_import_ship( (object) current($values) );
		return $export_target_import_ship_instance;
	}
}
