ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
This class handles all operations on files for the exercise object. More...
Public Member Functions | |
__construct () | |
Constructor call base constructors checks if directory is writable and sets the optional obj_id. More... | |
getFiles () | |
getXMLFile () | |
storeUploadedFile ($a_http_post_file) | |
store uploaded file in filesystem More... | |
findXMLFile ($a_dir='') | |
unzip () | |
getPath () | |
get exercise path public More... | |
unlinkLast () | |
__readFiles ($a_dir='') | |
__checkReadWrite () | |
check if directory is writable overwritten method from base class private More... | |
Public Member Functions inherited from ilFileDataImport | |
__construct () | |
Constructor call base constructors. More... | |
getPath () | |
get exercise path public More... | |
__checkPath () | |
__checkReadWrite () | |
check if directory is writable overwritten method from base class private More... | |
Public Member Functions inherited from ilFileData | |
__construct () | |
Constructor class bas constructor and read path of directory from ilias.ini setup an mail object public. More... | |
checkPath ($a_path) | |
check if path exists and is writable More... | |
getPath () | |
get Path public More... | |
Public Member Functions inherited from ilFile | |
__construct () | |
Constructor get ilias object public. More... | |
deleteTrailingSlash ($a_path) | |
delete trailing slash of path variables More... | |
Static Public Member Functions | |
_initDirectory () | |
init directory overwritten method public More... | |
Static Public Member Functions inherited from ilFileDataImport | |
_initDirectory () | |
init directory overwritten method public More... | |
Data Fields | |
$mail_path | |
$files | |
$xml_file | |
Data Fields inherited from ilFileDataImport | |
$import_path | |
Data Fields inherited from ilFile | |
$path | |
$ilias | |
This class handles all operations on files for the exercise object.
Definition at line 14 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__construct | ( | ) |
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.ilFileDataImportMail.php.
References __readFiles(), and _initDirectory().
ilFileDataImportMail::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Definition at line 178 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__readFiles | ( | $a_dir = '' | ) |
Definition at line 147 of file class.ilFileDataImportMail.php.
References $file, array, and getPath().
Referenced by __construct(), findXMLFile(), and storeUploadedFile().
|
static |
init directory overwritten method public
Definition at line 196 of file class.ilFileDataImportMail.php.
References ilUtil\makeDir().
Referenced by __construct().
ilFileDataImportMail::findXMLFile | ( | $a_dir = '' | ) |
Definition at line 87 of file class.ilFileDataImportMail.php.
References $xml_file, __readFiles(), getFiles(), and getPath().
ilFileDataImportMail::getFiles | ( | ) |
Definition at line 46 of file class.ilFileDataImportMail.php.
Referenced by findXMLFile(), unlinkLast(), and unzip().
ilFileDataImportMail::getPath | ( | ) |
get exercise path public
Definition at line 126 of file class.ilFileDataImportMail.php.
References $mail_path.
Referenced by __readFiles(), findXMLFile(), and storeUploadedFile().
ilFileDataImportMail::getXMLFile | ( | ) |
ilFileDataImportMail::storeUploadedFile | ( | $a_http_post_file | ) |
store uploaded file in filesystem
array | HTTP_POST_FILES public |
Definition at line 62 of file class.ilFileDataImportMail.php.
References __readFiles(), getPath(), ilUtil\moveUploadedFile(), and unlinkLast().
ilFileDataImportMail::unlinkLast | ( | ) |
Definition at line 131 of file class.ilFileDataImportMail.php.
References ilUtil\delDir(), and getFiles().
Referenced by storeUploadedFile().
ilFileDataImportMail::unzip | ( | ) |
Definition at line 110 of file class.ilFileDataImportMail.php.
References getFiles(), and ilUtil\unzip().
ilFileDataImportMail::$files |
Definition at line 23 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::$mail_path |
Definition at line 21 of file class.ilFileDataImportMail.php.
Referenced by getPath().
ilFileDataImportMail::$xml_file |
Definition at line 24 of file class.ilFileDataImportMail.php.
Referenced by findXMLFile(), and getXMLFile().