<?php

/**
* @package RestCreateDB
* @copyright Copyright (c) PT Gamatechno Indonesia
* @Analyzed By Dyan Galih
* @author Didi Zuliansyah
* @version 01
* @startDate 2013-01-01
* @lastUpdate 2013-01-01
* @description Class RestCreateDB
*/
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/'.Dispatcher::Instance()->mModule.'/business/restSimakBmn.class.php';

class RestCreateDB extends RestResponse {

	public function get() {
		$obj = new restSimakBmn();
		$result = $obj->getBMNTableList();
		if ($result){
			$status = 200;
			$msg = "Berhasil Create DB";
		} else{
			$status = 201;
			$msg = "Gagal Create DB";
		}
		return array("status"=>$status,"message"=>$msg,"data"=>$result);
	}
	
	public function post() {
	}
	
	public function put() {
	}
	
	public function delete() {
	}
}
?>