public function UploadFileParameters::exportToArray in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
- 8.2 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
- 8.3 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
@inheritdoc
File
- api-sdk-php/
src/ File/ Params/ UploadFileParameters.php, line 89
Class
- UploadFileParameters
- Class UploadFileParameters
Namespace
Smartling\File\ParamsCode
public function exportToArray() {
$params = $this->params;
$params['authorize'] = array_key_exists('localeIdsToAuthorize', $params) ? false : (bool) $params['authorize'];
return $params;
}