Открытые члены | |
__construct ($name, Main\Engine\Controller $controller, array $config=[]) | |
getDownloadingParameters () | |
getDownloadingSamplesParameters () | |
mergeLangFiles (string $langFilePath, array $fullLangFilePaths, bool $collectUntranslated=false, array $filterByCodeList=[]) | |
lookThroughLangFolder (string $langPath) | |
Открытые члены унаследованные от Action | |
hasErrors () | |
Открытые члены унаследованные от Action | |
__construct ($name, Controller $controller, $config=array()) | |
configure ($params) | |
getArguments () | |
setArguments (array $arguments) | |
runWithSourceParametersList () | |
getBinder () | |
getController () | |
getName () | |
getConfig () | |
getCurrentUser () | |
convertKeysToCamelCase ($data) | |
getErrors () | |
getErrorByCode ($code) | |
Защищенные члены | |
configureExportCsvFile (Translate\IO\CsvFile $csvFile) | |
generateExportFileName (string $path, array $languages) | |
getFullPath (int $pathId) | |
Защищенные члены унаследованные от Action | |
init () | |
buildBinder () | |
onBeforeRun () | |
onAfterRun () | |
addError (Error $error) | |
addErrors (array $errors) | |
Защищенные данные | |
int | $tabId = 0 |
string | $exportFilePath = '' |
string | $exportFileName = '' |
string | $exportFileType = 'application/csv' |
int | $exportFileSize = 0 |
bool | $convertEncoding |
string | $encodingOut |
bool | $collectUntranslated |
bool | $appendSamples = false |
int | $samplesCount = 10 |
array | $samplesRestriction = [] |
string | $samplesFilePath = '' |
string | $samplesFileName = '' |
int | $samplesFileSize = 0 |
int | $maxSampleSourceLength = 500 |
array | $languages = [] |
int | $exportedPhraseCount = 0 |
int | $exportedSamplesCount = 0 |
Translate Filter | $filter |
array | $fullPathCache = [] |
Защищенные данные унаследованные от Action | |
$binder | |
$errorCollection | |
$controller | |
$config | |
$name | |
Статические защищенные данные | |
static string | $documentRoot = '' |
static bool | $useTranslationRepository = false |
static array | $translationRepositoryLanguages = [] |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от Action | |
static | className () |
Harvester of the lang files disposition.
@method array run(string $path, bool $runBefore)
См. определение в файле exportaction.php строка 15
__construct | ( | $name, | |
Main\Engine\Controller | $controller, | ||
array | $config = [] ) |
\Bitrix\Main\Engine\Action constructor.
string | $name | Action name. |
Main\Engine\Controller | $controller | Parent controller object. |
array | $config | Additional configuration. |
Переопределяется в ExportFile, ExportFileList, ExportFileSearch, ExportPath и ExportPhraseSearch.
См. определение в файле exportaction.php строка 66
|
protected |
Apply module configuration to exporting csv file.
Translate\IO\CsvFile | $csvFile | Object to configure. |
См. определение в файле exportaction.php строка 196
|
protected |
Generate name for exporting file.
string | $path | Exporting path. |
string[] | $languages | List of exporting languages. |
См. определение в файле exportaction.php строка 225
getDownloadingParameters | ( | ) |
Returns exported file properties.
См. определение в файле exportaction.php строка 235
getDownloadingSamplesParameters | ( | ) |
Returns exported file properties.
См. определение в файле exportaction.php строка 250
|
protected |
Returns list of full paths for lang path.
int | $pathId |
См. определение в файле exportaction.php строка 553
lookThroughLangFolder | ( | string | $langPath | ) |
Runs through lang folder and collects full path to lang files.
string | $langPath | Relative project path of the language folder. |
См. определение в файле exportaction.php строка 378
mergeLangFiles | ( | string | $langFilePath, |
array | $fullLangFilePaths, | ||
bool | $collectUntranslated = false, | ||
array | $filterByCodeList = [] ) |
Merges all language files into one array.
string | $langFilePath | Relative project path of the language file. |
string[] | $fullLangFilePaths | Array of full paths to lang files. |
bool | $collectUntranslated | Collect only untranslated phrases. |
string[] | $filterByCodeList | Array of prase codes to filter. |
См. определение в файле exportaction.php строка 270
|
protected |
См. определение в файле exportaction.php строка 37
|
protected |
См. определение в файле exportaction.php строка 34
|
protected |
См. определение в файле exportaction.php строка 30
|
staticprotected |
См. определение в файле exportaction.php строка 17
|
protected |
См. определение в файле exportaction.php строка 32
|
protected |
См. определение в файле exportaction.php строка 50
|
protected |
См. определение в файле exportaction.php строка 52
|
protected |
См. определение в файле exportaction.php строка 26
|
protected |
См. определение в файле exportaction.php строка 25
|
protected |
См. определение в файле exportaction.php строка 28
|
protected |
См. определение в файле exportaction.php строка 27
|
protected |
См. определение в файле exportaction.php строка 54
|
protected |
См. определение в файле exportaction.php строка 56
|
protected |
См. определение в файле exportaction.php строка 48
|
protected |
См. определение в файле exportaction.php строка 45
|
protected |
См. определение в файле exportaction.php строка 38
|
protected |
См. определение в файле exportaction.php строка 41
|
protected |
См. определение в файле exportaction.php строка 40
|
protected |
См. определение в файле exportaction.php строка 42
|
protected |
См. определение в файле exportaction.php строка 39
|
protected |
См. определение в файле exportaction.php строка 23
|
staticprotected |
См. определение в файле exportaction.php строка 21
|
staticprotected |
См. определение в файле exportaction.php строка 19