ILIAS
Release_4_0_x_branch Revision 61816
|
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 14 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Reimplemented from ilFileDataImport.
Definition at line 177 of file class.ilFileDataImportMail.php.
ilFileDataImportMail::__readFiles | ( | $a_dir = '' | ) |
Definition at line 147 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 195 of file class.ilFileDataImportMail.php.
References ilUtil\makeDir().
Referenced by ilFileDataImportMail().
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
Reimplemented from ilFileDataImport.
Definition at line 126 of file class.ilFileDataImportMail.php.
References $mail_path.
Referenced by __readFiles(), findXMLFile(), ilFileDataImportMail(), and storeUploadedFile().
ilFileDataImportMail::getXMLFile | ( | ) |
Definition at line 51 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 34 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 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().
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().