public function UploadFileParameters::setLocalesToApprove in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::setLocalesToApprove()
- 8.2 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::setLocalesToApprove()
- 8.3 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::setLocalesToApprove()
Parameters
array $locales_to_approve:
Return value
File
- vendor/
smartling/ api-sdk-php/ src/ File/ Params/ UploadFileParameters.php, line 76
Class
- UploadFileParameters
- Class UploadFileParameters
Namespace
Smartling\File\ParamsCode
public function setLocalesToApprove($locales_to_approve) {
if (is_string($locales_to_approve)) {
$locales_to_approve = [
$locales_to_approve,
];
}
$this
->set('localeIdsToAuthorize', $locales_to_approve);
return $this;
}