ILIAS
release_4-3 Revision
|
Public Member Functions | |
ilFileDataGroup ($group_obj) | |
Constructor call base constructors checks if directory is writable and sets the optional obj_id. | |
createImportFile ($a_tmp_name, $a_name) | |
unpackImportFile () | |
validateImportFile () | |
getImportFile () | |
getExportFile ($a_rel_name) | |
getExportFiles () | |
deleteFile ($a_rel_name) | |
deleteDirectory ($a_rel_dir) | |
_deleteAll ($a_obj_id) | |
addGroupDirectory () | |
addImportDirectory () | |
addDirectory ($a_rel_name) | |
writeToFile ($a_data, $a_rel_name) | |
zipFile ($a_rel_name, $a_zip_name) | |
getGroupPath () | |
get exercise path public | |
__checkPath () | |
__checkReadWrite () | |
check if directory is writable overwritten method from base class private | |
__initDirectory () | |
init directory overwritten method public | |
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 | |
getPath () | |
get Path public | |
Public Member Functions inherited from ilFile | |
ilFile () | |
Constructor get ilias object public. | |
deleteTrailingSlash ($a_path) | |
delete trailing slash of path variables |
Data Fields | |
$group_path | |
$group_obj = null |
Definition at line 16 of file class.ilFileDataGroup.php.
ilFileDataGroup::__checkPath | ( | ) |
Definition at line 225 of file class.ilFileDataGroup.php.
References __checkReadWrite(), and getGroupPath().
Referenced by ilFileDataGroup().
ilFileDataGroup::__checkReadWrite | ( | ) |
check if directory is writable overwritten method from base class private
Definition at line 243 of file class.ilFileDataGroup.php.
Referenced by __checkPath().
ilFileDataGroup::__initDirectory | ( | ) |
init directory overwritten method public
Definition at line 260 of file class.ilFileDataGroup.php.
References ilFileData\getPath(), GROUP_PATH, and ilUtil\makeDir().
Referenced by ilFileDataGroup().
ilFileDataGroup::_deleteAll | ( | $a_obj_id | ) |
Definition at line 152 of file class.ilFileDataGroup.php.
References ilUtil\delDir(), and GROUP_PATH.
ilFileDataGroup::addDirectory | ( | $a_rel_name | ) |
Definition at line 182 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\makeDir().
ilFileDataGroup::addGroupDirectory | ( | ) |
Definition at line 159 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\makeDir().
ilFileDataGroup::addImportDirectory | ( | ) |
Definition at line 170 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\makeDir().
ilFileDataGroup::createImportFile | ( | $a_tmp_name, | |
$a_name | |||
) |
Definition at line 54 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\moveUploadedFile().
ilFileDataGroup::deleteDirectory | ( | $a_rel_dir | ) |
Definition at line 140 of file class.ilFileDataGroup.php.
References ilUtil\delDir(), and getGroupPath().
ilFileDataGroup::deleteFile | ( | $a_rel_name | ) |
Definition at line 129 of file class.ilFileDataGroup.php.
ilFileDataGroup::getExportFile | ( | $a_rel_name | ) |
Definition at line 93 of file class.ilFileDataGroup.php.
ilFileDataGroup::getExportFiles | ( | ) |
Definition at line 102 of file class.ilFileDataGroup.php.
References ilFile\$path, and getGroupPath().
ilFileDataGroup::getGroupPath | ( | ) |
get exercise path public
Definition at line 218 of file class.ilFileDataGroup.php.
References $group_path.
Referenced by __checkPath(), addDirectory(), addGroupDirectory(), addImportDirectory(), createImportFile(), deleteDirectory(), getExportFiles(), getImportFile(), unpackImportFile(), validateImportFile(), writeToFile(), and zipFile().
ilFileDataGroup::getImportFile | ( | ) |
Definition at line 83 of file class.ilFileDataGroup.php.
References getGroupPath().
ilFileDataGroup::ilFileDataGroup | ( | $group_obj | ) |
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.ilFileDataGroup.php.
References $group_obj, ilFile\$ilias, __checkPath(), __initDirectory(), ilFileData\getPath(), GROUP_PATH, and ilFileData\ilFileData().
ilFileDataGroup::unpackImportFile | ( | ) |
Definition at line 63 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\unzip().
ilFileDataGroup::validateImportFile | ( | ) |
Definition at line 68 of file class.ilFileDataGroup.php.
References getGroupPath().
ilFileDataGroup::writeToFile | ( | $a_data, | |
$a_rel_name | |||
) |
Definition at line 193 of file class.ilFileDataGroup.php.
References getGroupPath().
ilFileDataGroup::zipFile | ( | $a_rel_name, | |
$a_zip_name | |||
) |
Definition at line 204 of file class.ilFileDataGroup.php.
References getGroupPath(), and ilUtil\zip().
ilFileDataGroup::$group_obj = null |
Definition at line 25 of file class.ilFileDataGroup.php.
Referenced by ilFileDataGroup().
ilFileDataGroup::$group_path |
Definition at line 23 of file class.ilFileDataGroup.php.
Referenced by getGroupPath().