class UploadContextParameters in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/Context/Params/UploadContextParameters.php \Smartling\Context\Params\UploadContextParameters
- 8.2 vendor/smartling/api-sdk-php/src/Context/Params/UploadContextParameters.php \Smartling\Context\Params\UploadContextParameters
- 8.3 vendor/smartling/api-sdk-php/src/Context/Params/UploadContextParameters.php \Smartling\Context\Params\UploadContextParameters
Class UploadContextParameters @package Context\Params
Hierarchy
- class \Smartling\Parameters\BaseParameters implements ParameterInterface
- class \Smartling\Context\Params\UploadContextParameters
Expanded class hierarchy of UploadContextParameters
5 files declare their use of UploadContextParameters
- context-example.php in vendor/
smartling/ api-sdk-php/ examples/ context-example.php - ContextApi.php in vendor/
smartling/ api-sdk-php/ src/ Context/ ContextApi.php - ContextApiFunctionalTest.php in vendor/
smartling/ api-sdk-php/ tests/ functional/ ContextApiFunctionalTest.php - ContextApiTest.php in vendor/
smartling/ api-sdk-php/ tests/ unit/ ContextApiTest.php - ContextUploader.php in src/
Context/ ContextUploader.php
File
- vendor/
smartling/ api-sdk-php/ src/ Context/ Params/ UploadContextParameters.php, line 11
Namespace
Smartling\Context\ParamsView source
class UploadContextParameters extends BaseParameters {
/**
* @param $contextFileUri
*
* @deprecated since version 3.5.0, to be removed in 4.0.0.
* Use UploadContextParameters::setContent() instead.
*/
public function setContextFileUri($contextFileUri) {
$this
->set('content', $contextFileUri);
}
public function setContent($contextFileUri) {
$this
->set('content', $contextFileUri);
}
public function setName($name) {
$this
->set('name', $name);
}
public function setMatchParams(MatchContextParameters $params) {
$this
->set('matchParams', json_encode($params
->exportToArray()));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseParameters:: |
protected | property | ||
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
1 |
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
|
UploadContextParameters:: |
public | function | ||
UploadContextParameters:: |
public | function | ||
UploadContextParameters:: |
public | function | ||
UploadContextParameters:: |
public | function |