class TranslationRequestParamsAbstract in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/TranslationRequests/Params/TranslationRequestParamsAbstract.php \Smartling\TranslationRequests\Params\TranslationRequestParamsAbstract
Class TranslationRequestParamsAbstract @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\ParamsAbstract
Expanded class hierarchy of TranslationRequestParamsAbstract
File
- vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ Params/ TranslationRequestParamsAbstract.php, line 9
Namespace
Smartling\TranslationRequests\ParamsView source
class TranslationRequestParamsAbstract extends ParamsAbstract {
/**
* @param $title
* @return $this
*/
public function setTitle($title) {
$this
->set('title', (string) $title);
return $this;
}
/**
* @param $contentHash
* @return $this
*/
public function setContentHash($contentHash) {
$this
->set('contentHash', (string) $contentHash);
return $this;
}
/**
* @param $outdated
* @return $this
*/
public function setOutdated($outdated) {
$this
->set('outdated', $outdated);
return $this;
}
/**
* @param $totalWordCount
* @return $this
*/
public function setTotalWordCount($totalWordCount) {
$this
->set('totalWordCount', (int) $totalWordCount);
return $this;
}
/**
* @param $totalStringCount
* @return $this
*/
public function setTotalStringCount($totalStringCount) {
$this
->set('totalStringCount', (int) $totalStringCount);
return $this;
}
/**
* @param array $customOriginalData
* @return $this
*/
public function setCustomOriginalData(array $customOriginalData = []) {
$this
->set('customOriginalData', $customOriginalData);
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 |