Exemplo n.º 1
0
 /**
  * Generate link for server request
  *
  * @param string $operation Operation name, i.e. "Pay"
  * @param array $params Array of pairs kay => value, that will be used as GET parameters
  *
  * @return string
  */
 protected static function generateLink($operation, $params)
 {
     return "https://" . self::_getDomain() . "/" . PaytureConfiguration::getApiPrefix() . "/" . $operation . "?" . self::stringify($params, "&");
 }