public static function makeResult($data, $message)
	{
		$result = array();
		$result['flag'] = true;
		$result['message'] = $message;
		$result['data'] = $data;

		return $result;
	}
public static function makeResult($data, $message)
	{
		$result = array();
		$result['flag'] = true;
		$result['message'] = $message;
		$result['data'] = $data;

		return $result;
	}
public static function makeResult ( $ data , $ message ) { $ result = array ( ) ; $ result [ 'flag' ] = true ; $ result [ 'message' ] = $ message ; $ result [ 'data' ] = $ data ; return $ result ; }
Generates result response object

@param mixed  $data
@param string $message

@return array
Generates result response object