public function SearchTranslationRequestParams::setCustomOriginalData in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/TranslationRequests/Params/SearchTranslationRequestParams.php \Smartling\TranslationRequests\Params\SearchTranslationRequestParams::setCustomOriginalData()
Parameters
array $customOriginalData:
Return value
$this
File
- vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ Params/ SearchTranslationRequestParams.php, line 49
Class
- SearchTranslationRequestParams
- Class SearchTranslationRequestParams @package Smartling\TranslationRequests\Params
Namespace
Smartling\TranslationRequests\ParamsCode
public function setCustomOriginalData(array $customOriginalData = []) {
if (0 < count($customOriginalData)) {
$this
->set('customOriginalData', json_encode($customOriginalData));
}
return $this;
}