ILIAS
Release_3_10_x_branch Revision 61812
|
This class handles all operations on files for the exercise object. More...
Public Member Functions | |
ilFileDataImportMail () | |
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 | |
$mail_path | |
$files | |
$xml_file | |
Data Fields inherited from ilFileDataImport | |
$import_path |
This class handles all operations on files for the exercise object.
Id: class.ilFileDataImportMail.php,v 1.1 2004/03/31 13:42:19 smeyer Exp $
Definition at line 34 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Reimplemented from ilFileDataImport.
Definition at line 197 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__readFiles | ( | $a_dir = '' | ) |
Definition at line 167 of file class.ilFileDataImportMail.php.
References $file, ilFormat\formatDate(), and getPath().
Referenced by findXMLFile(), ilFileDataImportMail(), and storeUploadedFile().
|
static |
init directory overwritten method public
Reimplemented from ilFileDataImport.
Definition at line 215 of file class.ilFileDataImportMail.php.
References ilUtil\makeDir().
Referenced by ilFileDataImportMail().
ilFileDataImportMail::findXMLFile | ( | $a_dir = '' | ) |
Definition at line 107 of file class.ilFileDataImportMail.php.
References $xml_file, __readFiles(), getFiles(), and getPath().
ilFileDataImportMail::getFiles | ( | ) |
Definition at line 66 of file class.ilFileDataImportMail.php.
Referenced by findXMLFile(), unlinkLast(), and unzip().
ilFileDataImportMail::getPath | ( | ) |
get exercise path public
Reimplemented from ilFileDataImport.
Definition at line 146 of file class.ilFileDataImportMail.php.
References $mail_path.
Referenced by __readFiles(), findXMLFile(), ilFileDataImportMail(), and storeUploadedFile().
ilFileDataImportMail::getXMLFile | ( | ) |
Definition at line 71 of file class.ilFileDataImportMail.php.
References $xml_file.
ilFileDataImportMail::ilFileDataImportMail | ( | ) |
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.ilFileDataImportMail.php.
References __readFiles(), _initDirectory(), getPath(), and ilFileDataImport\ilFileDataImport().
ilFileDataImportMail::storeUploadedFile | ( | $a_http_post_file | ) |
store uploaded file in filesystem
array | HTTP_POST_FILES public |
Definition at line 82 of file class.ilFileDataImportMail.php.
References __readFiles(), getPath(), ilUtil\moveUploadedFile(), and unlinkLast().
ilFileDataImportMail::unlinkLast | ( | ) |
Definition at line 151 of file class.ilFileDataImportMail.php.
References ilUtil\delDir(), and getFiles().
Referenced by storeUploadedFile().
ilFileDataImportMail::unzip | ( | ) |
Definition at line 130 of file class.ilFileDataImportMail.php.
References getFiles().
ilFileDataImportMail::$files |
Definition at line 43 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::$mail_path |
Definition at line 41 of file class.ilFileDataImportMail.php.
Referenced by getPath().
ilFileDataImportMail::$xml_file |
Definition at line 44 of file class.ilFileDataImportMail.php.
Referenced by findXMLFile(), and getXMLFile().