ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct () | |
Constructor. | |
getImportDirectory () | |
get import directory | |
getImportFileByCreationDate ($a_unix_time) | |
Get import file by creation date. | |
deleteFileByCreationDate ($a_unix_time) | |
Delete a file. | |
moveUploadedFile ($a_temp_name) | |
move uploaded files |
Data Fields | |
const | IMPORT_NAME = 'ilias_adv_md_record' |
Private Member Functions | |
init () | |
init function: create import directory, delete old files |
Private Attributes | |
$import_dir = '' |
Definition at line 32 of file class.ilAdvancedMDRecordImportFiles.php.
ilAdvancedMDRecordImportFiles::__construct | ( | ) |
Constructor.
public
Definition at line 44 of file class.ilAdvancedMDRecordImportFiles.php.
References ilUtil\getDataDir(), and init().
ilAdvancedMDRecordImportFiles::deleteFileByCreationDate | ( | $a_unix_time | ) |
Delete a file.
public
int | creation date (unix time) |
Definition at line 81 of file class.ilAdvancedMDRecordImportFiles.php.
References getImportDirectory().
ilAdvancedMDRecordImportFiles::getImportDirectory | ( | ) |
get import directory
public
Definition at line 56 of file class.ilAdvancedMDRecordImportFiles.php.
References $import_dir.
Referenced by deleteFileByCreationDate(), getImportFileByCreationDate(), and moveUploadedFile().
ilAdvancedMDRecordImportFiles::getImportFileByCreationDate | ( | $a_unix_time | ) |
Get import file by creation date.
public
int | creation date (unix time) |
Definition at line 68 of file class.ilAdvancedMDRecordImportFiles.php.
References getImportDirectory().
|
private |
init function: create import directory, delete old files
private
Definition at line 115 of file class.ilAdvancedMDRecordImportFiles.php.
References ilUtil\makeDirParents().
Referenced by __construct().
ilAdvancedMDRecordImportFiles::moveUploadedFile | ( | $a_temp_name | ) |
move uploaded files
public
string | tmp name |
Definition at line 95 of file class.ilAdvancedMDRecordImportFiles.php.
References $file_name, getImportDirectory(), and ilUtil\moveUploadedFile().
|
private |
Definition at line 36 of file class.ilAdvancedMDRecordImportFiles.php.
Referenced by getImportDirectory().
const ilAdvancedMDRecordImportFiles::IMPORT_NAME = 'ilias_adv_md_record' |
Definition at line 34 of file class.ilAdvancedMDRecordImportFiles.php.