You are here

protected function ContextApi::getDefaultRequestData in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getDefaultRequestData()
  2. 8.2 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getDefaultRequestData()
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getDefaultRequestData()
  2. 8.3 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getDefaultRequestData()
14 calls to ContextApi::getDefaultRequestData()
ContextApi::getMatchStatus in api-sdk-php/src/Context/ContextApi.php
Get context match status.
ContextApi::getMatchStatus in vendor/smartling/api-sdk-php/src/Context/ContextApi.php
Get context match status.
ContextApi::getMissingResources in api-sdk-php/src/Context/ContextApi.php
Get missing resources.
ContextApi::getMissingResources in vendor/smartling/api-sdk-php/src/Context/ContextApi.php
Get missing resources.
ContextApi::matchContext in api-sdk-php/src/Context/ContextApi.php
Match context async.

... See full list

File

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

Class

ContextApi
Class ContextApi

Namespace

Smartling\Context

Code

protected function getDefaultRequestData($parametersType, $parameters, $auth = true, $httpErrors = false) {
  $requestData = parent::getDefaultRequestData($parametersType, $parameters, $auth = true, $httpErrors = false);
  $requestData['headers']['X-SL-Context-Source'] = $this
    ->getXSLContextSourceHeader();
  return $requestData;
}