コード例 #1
0
 /**
  * To create a new gateway
  * @param $input
  * @return string
  */
 public static function add_gateway($input)
 {
     $gateway = new Gateway();
     $gateway->gatewayId = $input["gatewayName"];
     $gateway->domain = $input["domain"];
     $gateway->gatewayName = $input["gatewayName"];
     $gateway->emailAddress = $input["admin-email"];
     return Airavata::addGateway(Session::get('authz-token'), $gateway);
 }