ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Handler class for multi srt upload. More...
Public Member Functions | |
__construct (ilMobMultiSrtInt $a_multi_srt) | |
Construcotr. More... | |
getMultiSrtUploadDir () | |
Get directory for multi srt upload. More... | |
uploadMultipleSubtitleFile ($a_file) | |
Upload multi srt file. More... | |
clearMultiSrtDirectory () | |
Clear multi feedback directory. More... | |
getMultiSrtFiles () | |
Get all srt files of srt multi upload. More... | |
moveMultiSrtFiles () | |
Move all srt files that could be mapped to media objects. More... | |
Protected Attributes | |
$lng | |
$lm | |
Handler class for multi srt upload.
Definition at line 12 of file class.ilMobMultiSrtUpload.php.
ilMobMultiSrtUpload::__construct | ( | ilMobMultiSrtInt | $a_multi_srt | ) |
Construcotr.
ilMobMultiSrtInt | $a_multi_srt | adapter implementation |
Definition at line 26 of file class.ilMobMultiSrtUpload.php.
ilMobMultiSrtUpload::clearMultiSrtDirectory | ( | ) |
Clear multi feedback directory.
Definition at line 70 of file class.ilMobMultiSrtUpload.php.
References ilUtil\delDir(), and getMultiSrtUploadDir().
ilMobMultiSrtUpload::getMultiSrtFiles | ( | ) |
Get all srt files of srt multi upload.
Definition at line 78 of file class.ilMobMultiSrtUpload.php.
References $files, $i, $l, $lang, $m, ilMDLanguageItem\_getPossibleLanguageCodes(), array, ilUtil\getDir(), and getMultiSrtUploadDir().
Referenced by moveMultiSrtFiles().
ilMobMultiSrtUpload::getMultiSrtUploadDir | ( | ) |
Get directory for multi srt upload.
Definition at line 41 of file class.ilMobMultiSrtUpload.php.
Referenced by clearMultiSrtDirectory(), getMultiSrtFiles(), moveMultiSrtFiles(), and uploadMultipleSubtitleFile().
ilMobMultiSrtUpload::moveMultiSrtFiles | ( | ) |
Move all srt files that could be mapped to media objects.
Definition at line 132 of file class.ilMobMultiSrtUpload.php.
References $i, getMultiSrtFiles(), and getMultiSrtUploadDir().
ilMobMultiSrtUpload::uploadMultipleSubtitleFile | ( | $a_file | ) |
Upload multi srt file.
array | $a_file | file info array |
ilLMException |
Definition at line 53 of file class.ilMobMultiSrtUpload.php.
References ilUtil\delDir(), getMultiSrtUploadDir(), ilUtil\makeDirParents(), and ilUtil\unzip().
|
protected |
Definition at line 19 of file class.ilMobMultiSrtUpload.php.
|
protected |
Definition at line 17 of file class.ilMobMultiSrtUpload.php.
Referenced by __construct().