class UpdateTranslationRequestParams in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/TranslationRequests/Params/UpdateTranslationRequestParams.php \Smartling\TranslationRequests\Params\UpdateTranslationRequestParams
Class UpdateTranslationRequestParams @package Smartling\TranslationRequests\Params
Hierarchy
- class \Smartling\Parameters\BaseParameters implements ParameterInterface
- class \Smartling\TranslationRequests\Params\ParamsAbstract
- class \Smartling\TranslationRequests\Params\TranslationRequestParamsAbstract
- class \Smartling\TranslationRequests\Params\UpdateTranslationRequestParams
- class \Smartling\TranslationRequests\Params\TranslationRequestParamsAbstract
- class \Smartling\TranslationRequests\Params\ParamsAbstract
Expanded class hierarchy of UpdateTranslationRequestParams
7 files declare their use of UpdateTranslationRequestParams
- SmartlingApiWrapper.php in src/
Smartling/ SmartlingApiWrapper.php - SmartlingApiWrapper.php.
- tmgmt_smartling.module in ./
tmgmt_smartling.module - Contains
- TranslationRequestManager.php in src/
Smartling/ Submission/ TranslationRequestManager.php - TranslationRequestManagerTest.php in tests/
src/ Kernel/ TranslationRequestManagerTest.php - TranslationRequestsApi.php in vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ TranslationRequestsApi.php
File
- vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ Params/ UpdateTranslationRequestParams.php, line 9
Namespace
Smartling\TranslationRequests\ParamsView source
class UpdateTranslationRequestParams extends TranslationRequestParamsAbstract {
/**
* @param UpdateTranslationSubmissionParams $translationSubmission
* @return $this
*/
public function addTranslationSubmission(UpdateTranslationSubmissionParams $translationSubmission) {
if (!array_key_exists('translationSubmissions', $this->params)) {
$this
->set('translationSubmissions', []);
}
$this->params['translationSubmissions'][] = $translationSubmission
->exportToArray();
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseParameters:: |
protected | property | ||
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
1 |
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
|
ParamsAbstract:: |
constant | |||
TranslationRequestParamsAbstract:: |
public | function | ||
TranslationRequestParamsAbstract:: |
public | function | ||
TranslationRequestParamsAbstract:: |
public | function | ||
TranslationRequestParamsAbstract:: |
public | function | ||
TranslationRequestParamsAbstract:: |
public | function | ||
TranslationRequestParamsAbstract:: |
public | function | ||
UpdateTranslationRequestParams:: |
public | function |