You are here

public function FileApi::getExtendedList in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getExtendedList()
  2. 8.2 api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getExtendedList()
  3. 8.2 vendor/smartling/api-sdk-php/src/File/FileApi.php \Smartling\File\FileApi::getExtendedList()

Parameters

string $locale:

ExtendedListFilesParameters|null $params: same as ListFilesParameters, but with a new property 'status' which for now can only be of a value 'COMPLETED'

Return value

bool

File

vendor/smartling/api-sdk-php/src/File/FileApi.php, line 250

Class

FileApi
Class FileApi

Namespace

Smartling\File

Code

public function getExtendedList($locale, ExtendedListFilesParameters $params = null) {
  $params = is_null($params) ? [] : $params
    ->exportToArray();
  $requestData = $this
    ->getDefaultRequestData('query', $params);
  return $this
    ->sendRequest("locales/{$locale}/files/list", $requestData, self::HTTP_METHOD_GET);
}