ILIAS
release_4-3 Revision
|
This class handles all operations on files for the exercise object. More...
Public Member Functions | |
ilFileDataImportGroup () | |
Constructor call base constructors checks if directory is writable and sets the optional obj_id. | |
getFiles () | |
getXMLFile () | |
getObjectFile () | |
storeUploadedFile ($a_http_post_file) | |
store uploaded file in filesystem | |
findXMLFile ($a_dir= '') | |
findObjectFile ($a_file, $a_dir= '') | |
unzip () | |
getPath () | |
get exercise path public | |
unlinkLast () | |
__readFiles ($a_dir= '') | |
__checkReadWrite () | |
check if directory is writable overwritten method from base class private | |
Public Member Functions inherited from ilFileDataImport | |
ilFileDataImport () | |
Constructor call base constructors checks if directory is writable and sets the optional obj_id. | |
__checkPath () | |
Public Member Functions inherited from ilFileData | |
ilFileData () | |
Constructor class bas constructor and read path of directory from ilias.ini setup an mail object public. | |
checkPath ($a_path) | |
check if path exists and is writable | |
Public Member Functions inherited from ilFile | |
ilFile () | |
Constructor get ilias object public. | |
deleteTrailingSlash ($a_path) | |
delete trailing slash of path variables |
Static Public Member Functions | |
_initDirectory () | |
init directory overwritten method public |
Data Fields | |
$group_path | |
$files | |
$xml_file | |
Data Fields inherited from ilFileDataImport | |
$import_path |
This class handles all operations on files for the exercise object.
Definition at line 14 of file class.ilFileDataImportGroup.php.
ilFileDataImportGroup::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Reimplemented from ilFileDataImport.
Definition at line 205 of file class.ilFileDataImportGroup.php.
ilFileDataImportGroup::__readFiles | ( | $a_dir = '' | ) |
Definition at line 175 of file class.ilFileDataImportGroup.php.
References $file, ilFormat\formatDate(), and getPath().
Referenced by findObjectFile(), findXMLFile(), ilFileDataImportGroup(), and storeUploadedFile().
|
static |
init directory overwritten method public
Reimplemented from ilFileDataImport.
Definition at line 223 of file class.ilFileDataImportGroup.php.
References ilUtil\makeDir().
Referenced by ilFileDataImportGroup().
ilFileDataImportGroup::findObjectFile | ( | $a_file, | |
$a_dir = '' |
|||
) |
Definition at line 116 of file class.ilFileDataImportGroup.php.
References __readFiles(), getFiles(), and getPath().
ilFileDataImportGroup::findXMLFile | ( | $a_dir = '' | ) |
Definition at line 93 of file class.ilFileDataImportGroup.php.
References $xml_file, __readFiles(), getFiles(), and getPath().
ilFileDataImportGroup::getFiles | ( | ) |
Definition at line 46 of file class.ilFileDataImportGroup.php.
Referenced by findObjectFile(), findXMLFile(), unlinkLast(), and unzip().
ilFileDataImportGroup::getObjectFile | ( | ) |
Definition at line 56 of file class.ilFileDataImportGroup.php.
ilFileDataImportGroup::getPath | ( | ) |
get exercise path public
Reimplemented from ilFileDataImport.
Definition at line 154 of file class.ilFileDataImportGroup.php.
References $group_path.
Referenced by __readFiles(), findObjectFile(), findXMLFile(), ilFileDataImportGroup(), and storeUploadedFile().
ilFileDataImportGroup::getXMLFile | ( | ) |
Definition at line 51 of file class.ilFileDataImportGroup.php.
References $xml_file.
ilFileDataImportGroup::ilFileDataImportGroup | ( | ) |
Constructor call base constructors checks if directory is writable and sets the optional obj_id.
integereger | obj_id public |
Definition at line 34 of file class.ilFileDataImportGroup.php.
References __readFiles(), _initDirectory(), getPath(), and ilFileDataImport\ilFileDataImport().
ilFileDataImportGroup::storeUploadedFile | ( | $a_http_post_file | ) |
store uploaded file in filesystem
array | HTTP_POST_FILES public |
Definition at line 67 of file class.ilFileDataImportGroup.php.
References __readFiles(), getPath(), ilUtil\moveUploadedFile(), and unlinkLast().
ilFileDataImportGroup::unlinkLast | ( | ) |
Definition at line 159 of file class.ilFileDataImportGroup.php.
References ilUtil\delDir(), and getFiles().
Referenced by storeUploadedFile().
ilFileDataImportGroup::unzip | ( | ) |
Definition at line 138 of file class.ilFileDataImportGroup.php.
References getFiles().
ilFileDataImportGroup::$files |
Definition at line 23 of file class.ilFileDataImportGroup.php.
ilFileDataImportGroup::$group_path |
Definition at line 21 of file class.ilFileDataImportGroup.php.
Referenced by getPath().
ilFileDataImportGroup::$xml_file |
Definition at line 24 of file class.ilFileDataImportGroup.php.
Referenced by findXMLFile(), and getXMLFile().