ILIAS
Release_4_0_x_branch Revision 61816
|
This class handles all operations on files for the exercise object. More...
Public Member Functions | |
ilFileDataImportForum () | |
Constructor call base constructors checks if directory is writable and sets the optional obj_id. | |
getFiles () | |
getXMLFile () | |
storeUploadedFile ($a_http_post_file) | |
store uploaded file in filesystem | |
findXMLFile ($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 | |
$forum_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 34 of file class.ilFileDataImportForum.php.
ilFileDataImportForum::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Reimplemented from ilFileDataImport.
Definition at line 197 of file class.ilFileDataImportForum.php.
ilFileDataImportForum::__readFiles | ( | $a_dir = '' | ) |
Definition at line 167 of file class.ilFileDataImportForum.php.
References $file, ilFormat\formatDate(), and getPath().
Referenced by findXMLFile(), ilFileDataImportForum(), and storeUploadedFile().
|
static |
init directory overwritten method public
Reimplemented from ilFileDataImport.
Definition at line 215 of file class.ilFileDataImportForum.php.
References ilUtil\makeDir().
Referenced by ilFileDataImportForum().
ilFileDataImportForum::findXMLFile | ( | $a_dir = '' | ) |
Definition at line 107 of file class.ilFileDataImportForum.php.
References $xml_file, __readFiles(), getFiles(), and getPath().
ilFileDataImportForum::getFiles | ( | ) |
Definition at line 66 of file class.ilFileDataImportForum.php.
Referenced by findXMLFile(), unlinkLast(), and unzip().
ilFileDataImportForum::getPath | ( | ) |
get exercise path public
Reimplemented from ilFileDataImport.
Definition at line 146 of file class.ilFileDataImportForum.php.
Referenced by __readFiles(), findXMLFile(), ilFileDataImportForum(), and storeUploadedFile().
ilFileDataImportForum::getXMLFile | ( | ) |
Definition at line 71 of file class.ilFileDataImportForum.php.
References $xml_file.
ilFileDataImportForum::ilFileDataImportForum | ( | ) |
Constructor call base constructors checks if directory is writable and sets the optional obj_id.
integereger | obj_id public |
Definition at line 54 of file class.ilFileDataImportForum.php.
References __readFiles(), _initDirectory(), getPath(), and ilFileDataImport\ilFileDataImport().
ilFileDataImportForum::storeUploadedFile | ( | $a_http_post_file | ) |
store uploaded file in filesystem
array | HTTP_POST_FILES public |
Definition at line 82 of file class.ilFileDataImportForum.php.
References __readFiles(), getPath(), ilUtil\moveUploadedFile(), and unlinkLast().
ilFileDataImportForum::unlinkLast | ( | ) |
Definition at line 151 of file class.ilFileDataImportForum.php.
References ilUtil\delDir(), and getFiles().
Referenced by storeUploadedFile().
ilFileDataImportForum::unzip | ( | ) |
Definition at line 130 of file class.ilFileDataImportForum.php.
References getFiles().
ilFileDataImportForum::$files |
Definition at line 43 of file class.ilFileDataImportForum.php.
ilFileDataImportForum::$forum_path |
Definition at line 41 of file class.ilFileDataImportForum.php.
ilFileDataImportForum::$xml_file |
Definition at line 44 of file class.ilFileDataImportForum.php.
Referenced by findXMLFile(), and getXMLFile().