You are here

private function ContextApi::getXSLContextSourceHeader in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()
  2. 8.2 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()
  2. 8.3 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()

Returns X-SL-Context-Source header.

Return value

string

2 calls to ContextApi::getXSLContextSourceHeader()
ContextApi::getDefaultRequestData in api-sdk-php/src/Context/ContextApi.php
ContextApi::getDefaultRequestData in vendor/smartling/api-sdk-php/src/Context/ContextApi.php

File

api-sdk-php/src/Context/ContextApi.php, line 104

Class

ContextApi
Class ContextApi

Namespace

Smartling\Context

Code

private function getXSLContextSourceHeader() {
  return vsprintf('group=connectors;name=%s;version=%s', [
    static::getCurrentClientId(),
    static::getCurrentClientVersion(),
  ]);
}