|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
This class handles all operations on files for the exercise object. More...
Inheritance diagram for ilFileDataImportGroup:
Collaboration diagram for ilFileDataImportGroup:Public Member Functions | |
| ilFileDataImportGroup () | |
| Constructor call base constructors checks if directory is writable and sets the optional obj_id. More... | |
| getFiles () | |
| getXMLFile () | |
| getObjectFile () | |
| storeUploadedFile ($a_http_post_file) | |
| store uploaded file in filesystem More... | |
| findXMLFile ($a_dir='') | |
| findObjectFile ($a_file, $a_dir='') | |
| unzip () | |
| getPath () | |
| get exercise path @access public More... | |
| unlinkLast () | |
| __readFiles ($a_dir='') | |
| __checkReadWrite () | |
| check if directory is writable overwritten method from base class @access private More... | |
Public Member Functions inherited from ilFileDataImport | |
| ilFileDataImport () | |
| Constructor call base constructors checks if directory is writable and sets the optional obj_id. More... | |
| getPath () | |
| get exercise path @access public More... | |
| __checkPath () | |
| __checkReadWrite () | |
| check if directory is writable overwritten method from base class @access private More... | |
Public Member Functions inherited from ilFileData | |
| ilFileData () | |
| Constructor class bas constructor and read path of directory from ilias.ini setup an mail object @access public. More... | |
| checkPath ($a_path) | |
| check if path exists and is writable More... | |
| getPath () | |
| get Path @access public More... | |
Public Member Functions inherited from ilFile | |
| ilFile () | |
| Constructor get ilias object @access public. More... | |
| deleteTrailingSlash ($a_path) | |
| delete trailing slash of path variables More... | |
Static Public Member Functions | |
| _initDirectory () | |
| init directory overwritten method @access public More... | |
| _initDirectory () | |
| init directory overwritten method @access public More... | |
Data Fields | |
| $group_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.ilFileDataImportGroup.php.
| ilFileDataImportGroup::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class @access private
Reimplemented from ilFileDataImport.
Definition at line 203 of file class.ilFileDataImportGroup.php.
| ilFileDataImportGroup::__readFiles | ( | $a_dir = '' | ) |
Definition at line 173 of file class.ilFileDataImportGroup.php.
References $file, ilFormat\formatDate(), and getPath().
Referenced by findObjectFile(), findXMLFile(), ilFileDataImportGroup(), and storeUploadedFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
init directory overwritten method @access public
Reimplemented from ilFileDataImport.
Definition at line 221 of file class.ilFileDataImportGroup.php.
References ilUtil\makeDir().
Referenced by ilFileDataImportGroup().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataImportGroup::findObjectFile | ( | $a_file, | |
$a_dir = '' |
|||
| ) |
Definition at line 114 of file class.ilFileDataImportGroup.php.
References __readFiles(), findObjectFile(), getFiles(), and getPath().
Referenced by findObjectFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataImportGroup::findXMLFile | ( | $a_dir = '' | ) |
Definition at line 91 of file class.ilFileDataImportGroup.php.
References $xml_file, __readFiles(), findXMLFile(), getFiles(), and getPath().
Referenced by findXMLFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataImportGroup::getFiles | ( | ) |
Definition at line 46 of file class.ilFileDataImportGroup.php.
Referenced by findObjectFile(), findXMLFile(), unlinkLast(), and unzip().
Here is the caller graph for this function:| ilFileDataImportGroup::getObjectFile | ( | ) |
Definition at line 56 of file class.ilFileDataImportGroup.php.
| ilFileDataImportGroup::getPath | ( | ) |
get exercise path @access public
Reimplemented from ilFileDataImport.
Definition at line 152 of file class.ilFileDataImportGroup.php.
References $group_path.
Referenced by __readFiles(), findObjectFile(), findXMLFile(), and storeUploadedFile().
Here is the caller graph for this function:| 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 @access public |
Definition at line 34 of file class.ilFileDataImportGroup.php.
References __readFiles(), and _initDirectory().
Here is the call graph for this function:| ilFileDataImportGroup::storeUploadedFile | ( | $a_http_post_file | ) |
store uploaded file in filesystem
| array | HTTP_POST_FILES @access public |
Definition at line 67 of file class.ilFileDataImportGroup.php.
References __readFiles(), getPath(), ilUtil\moveUploadedFile(), and unlinkLast().
Here is the call graph for this function:| ilFileDataImportGroup::unlinkLast | ( | ) |
Definition at line 157 of file class.ilFileDataImportGroup.php.
References ilUtil\delDir(), and getFiles().
Referenced by storeUploadedFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileDataImportGroup::unzip | ( | ) |
Definition at line 136 of file class.ilFileDataImportGroup.php.
References getFiles(), and ilUtil\unzip().
Here is the call graph for this function:| 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().